<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
> <BR>> Hi,<BR>> <BR>> informatique src wrote:<BR>> > * come up with some common rules for standardizing wpkg packages files<BR>> > writing (naming scheme, versioning, path to executable...)<BR>> <BR>> WPKG can be used in various different ways in various environments and is very<BR>> flexible. Imposing naming rules is quite difficult and would always limit the<BR>> ways WPKG is used (limits flexibility).<BR>> Some "best practice" rules like the use of a %SOFTWARE% variable in WPKG client<BR>> already exist. This makes most of the packages "portable" and re-usable.<BR>> <BR>> However there are always multiple ways to deploy a software. Some like to use<BR>> shell-scripts to perform multiple actions during installations, some prefer to<BR>> define multiple commands within the package definition. Both is correct and<BR>> fully supported.<BR>> <BR>> Another example is that some users use AutoIt to script installers while people<BR>> like me avoid this "click-scripting" like the plague and use shell-scripting,<BR>> re-packaging and/or SFX extractors instead. But I accept package contributions<BR>> using AutoIt because having a way of silent installing is better than having<BR>> nothing. So giving a clear rule is very difficult.<BR>> <BR>> Versions of the packages is a story for its own. Previous WPKG releases (prior<BR>> to 1.0) only supported an integer value for the package revision and users were<BR>> used to increase this counter each time they did a change. Today WPKG 1.1.x<BR>> supports much more complicated version numbers and it got more common to use the<BR>> software-revision within the revision field too.<BR>> <BR>> <BR>> > * then use a vcs (subversion or any dvcs) to check in/out those files.<BR>> > We could have a single branch or use the stable, testing, development<BR>> > branch scheme used by others<BR>> <BR>> SVN is a VCS (Version Control System) but it's not distributed (DVCS). Using a<BR>> DVCS system is more complex to developers than a client-server VCS like CVS or SVN.<BR>> In general I have doubts that storing package templates within a VCS would<BR>> increase usability and contribution. Currently examples and package templates<BR>> are stored on our Wiki page which is in fact a VCS too (keeps page history).<BR>> The main advantage I see when using a Wiki is that it's much easier to<BR>> contribute. Even people without development background can use a Wiki. I would<BR>> expect much less people to contribute to the package templates if they would<BR>> have to install an SVN client, learn about SVN in general, log in to the system<BR>> (typically SVN write-users have their personal account) and then add the sources<BR>> correctly to the repository.<BR>> <BR>> In addition the Wiki encourages people to write a few sentence of explanation.<BR>> In a VCS I think that most contributors would just check in an uncommented XML<BR>> file without any comments or README and at the end it's much less helpful to new<BR>> users.<BR>> <BR>> Another problem would be that contributors might start uploading binaries<BR>> (installers) to the repository too which is a problem because of copyright and<BR>> licensing issues (apart the fact that I really don't like binaries within a<BR>> source repository).<BR>> <BR>> <BR>> > Writing the packages files is what takes time, so it would be nice if we<BR>> > could find a way to put in common our efforts :-)<BR>> <BR>> Well, I agree that some packages within the Wiki are not of the best quality but<BR>> it allows everybody to contribute or to unify them.<BR>> <BR>> The biggest concern I see when using a VCS is as I stated: Accessibility and<BR>> Usability. In order to convince as many people as possible to contribute we need<BR>> to keep the hurdle as low as possible. And using the browser to edit a Wiki page<BR>> is for sure a lower hurdle than installing an SVN client and following a<BR>> document to prepare a package to be checked in properly.<BR>> <BR>> <BR>> Just my $0.05, I ask others to give their opinion as well.<BR>
<BR>
I don't really find creating the package xml files a big problem, there are huge resources online for silent install commands nowadays, wpkg.org, appdeploy.com etc etc. The huge time saved from using WPKG easily makes up for the not that long of a time to create a new package xml for me.<BR>
<BR>
I guess I should update the WPKG wiki more than I do though, as I've plenty of programs in use that are not in it.<BR><br /><hr />Beyond Hotmail - see what else you can do with Windows Live. <a href='http://clk.atdmt.com/UKM/go/134665375/direct/01/' target='_new'>Find out more.</a></body>
</html>