Commit Graph

37 Commits

Author SHA1 Message Date
Matthias Schiffer
8cfd64d2db Make module scripts use GLUONDIR and GLUON_SITEDIR
This fixes `make update` not working correctly when GLUON_SITEDIR is set
manually.
2015-01-11 09:48:31 +01:00
Nils Schneider
3a8af0ce38 scripts: fix GLUON_SITE_CONFIG
check_site.sh and site.sh were setting GLUON_SITE_CONFIG on their own
even though the environment variable was already exported.
2014-07-29 10:05:10 +02:00
Matthias Schiffer
cba86b0211 scripts/rfc3339date.lua: fix pattern validity 2014-07-21 03:44:53 +02:00
Matthias Schiffer
c4109b349c Add DATE and PRIORITY fields to the manifest 2014-07-20 16:35:20 +02:00
Matthias Schiffer
442ef0bd36 check_site_lib: add need_boolean check 2014-07-16 16:39:41 +02:00
Julian Kornberger
3e0d439165 Allow specifying a branch for a module
If a given commit is not included in the master branch, the update script fails.
2014-07-15 15:31:52 +02:00
Matthias Schiffer
17bf228884 Add helper scripts used by packages to validate site.conf 2014-07-05 02:48:09 +02:00
Matthias Schiffer
705595574d Remove things not needed anymore with the new site config 2014-05-15 22:59:13 +02:00
Matthias Schiffer
1b520c6856 Use site_config loader from gluon packages 2014-05-15 22:59:12 +02:00
Matthias Schiffer
62feaab756 Add "portable" md5sum and sha512sum scripts 2014-05-15 22:59:12 +02:00
Matthias Schiffer
3a6561a40c New Lua-based site configuration 2014-05-15 22:59:12 +02:00
Daniel Ehlers
bd28aa99ae Return exit code on missing value
Let the site configuration value script return 1 when
the requested value is not available.This enables us
to react on failures, so we can for example use a default
value.

With this patch the script will return with exitcode 1 if
the value is not found and no output on stdout. Otherwise
exitcode is 0 and the value is returned on stdout.
2014-05-09 13:38:26 +02:00
Matthias Schiffer
5fb924193d Allow whitespace and other special characters in generate expressions from arrays 2014-02-23 06:13:02 +01:00
Matthias Schiffer
58584018de Add array support to the simple generate script (doesn't work with spaces) 2014-01-21 02:55:02 +01:00
Matthias Schiffer
6942303486 Add site.sh to get site configuration 2014-01-20 02:30:25 +01:00
Matthias Schiffer
9f3a09a765 scripts/configure.pl: add function to generate a nightly version string 2014-01-20 01:48:03 +01:00
Jan-Philipp Litza
ca95374ea1 Enable the site config to include own package feeds 2014-01-19 17:37:46 +01:00
Matthias Schiffer
cacf010f4a Don't warn about whitespace when patching 2014-01-11 13:42:09 +01:00
Matthias Schiffer
cfe3b79ca8 Fix `make patch' for more than one patch file 2014-01-09 20:20:34 +01:00
Matthias Schiffer
7537464262 Nicer feed specification 2014-01-02 15:16:32 +01:00
Matthias Schiffer
59adcccab3 Fix update.sh 2014-01-01 18:30:55 +01:00
Matthias Schiffer
9274724486 Add support for old git version without -C 2013-12-31 17:03:39 +01:00
Matthias Schiffer
b7676e5818 Fix update-patches patch names 2013-12-28 23:07:01 +01:00
Matthias Schiffer
76167579cd Fix branch name for modules without patches 2013-12-28 22:43:16 +01:00
Matthias Schiffer
37f1248d3d Add some more fixes and some checks for the new module system 2013-12-28 22:13:18 +01:00
Matthias Schiffer
1b33134353 Make patch and update scripts a bit nicer 2013-12-28 21:35:16 +01:00
Matthias Schiffer
a6ae2786f3 Make patch generation deterministic 2013-12-28 17:17:02 +01:00
Matthias Schiffer
1cc0948597 Add update-patches target 2013-12-28 15:31:11 +01:00
Matthias Schiffer
1117cc39de Add patch and unpatch targets 2013-12-28 15:11:59 +01:00
Matthias Schiffer
3ddc077738 Add make target to check out modules 2013-12-28 14:54:49 +01:00
Matthias Schiffer
2f919846c2 Split up configure script 2013-09-30 19:04:35 +02:00
Matthias Schiffer
b72ffb1bdb configure: use tabs instead of spaces 2013-09-30 17:14:40 +02:00
Matthias Schiffer
31da712536 Ignore lists in site config 2013-09-30 17:13:13 +02:00
Matthias Schiffer
5daaeb6264 Rename site.pl to site.conf 2013-09-29 14:44:17 +02:00
Matthias Schiffer
73f3572c9f Abort when the generator fails (e.g. because of syntax errors in the config) 2013-09-29 12:48:12 +02:00
Matthias Schiffer
35a20e256c Add config generator scripts 2013-09-28 18:39:32 +02:00
Matthias Schiffer
747701e3d3 Move around some files, remove a layer of make invocation 2013-04-04 21:00:15 +02:00