release.sh configuration and options makeover

6 views
Skip to first unread message

Jan Wieck

unread,
Dec 12, 2011, 9:37:33 AM12/12/11
to minix3
Here is a (first) patch for the proposed changes to release.sh
(discussed on IRC).

https://github.com/wieck/minix/commit/ea391577eea432ced2088e2d29c4ec0ae2af9418

Ben,

these are slightly different than what you and I had discussed. I
incorporated suggestions from pikpik, specifically the -r and -t
options. I also left out the idea of combining the generation of all 3
possible images (IDE, USB and HD) into one release.sh run. That change
turned out to become more or less a complete rewrite of the entire
thing, which isn't necessarily worth the effort.

> release.sh configuration and options makeover.
>
> - Move all important configuration data (URIs, package lists, etc.)
> into an external configuration file.
>
> - Extend option parsing to allow for an additional argument specifying
> another config file that overrides default settings. Command line
> options finally override those settings.
>
> - Change option -L <uri> so that all packages for preinstall as well
> as pkgin_cd are taken from that location.
>
> - Change option -l to be a shortcut for -L file:///usr/pkgsrc/packages/...
>
> - Reuse previously obsolete option -r to now specify the value placed
> into pkgin's repositories.conf file.
>
> - Remove obsolete -s option.
>
> - Add -t <tag> to specify the git commit/tag/branch to use for checkout.

Comments, suggestions?


Jan

--
Anyone who trades liberty for security deserves neither
liberty nor security. -- Benjamin Franklin

Reply all
Reply to author
Forward
0 new messages