Martin Weinelt
6992a3d1ac
scripts: fix mixed indentation
2022-12-19 00:49:44 +01:00
Jan-Tarek Butt
dd76e0898d
treewide: solve shellcheck warnings
2019-12-14 18:35:11 +01:00
Christof Schulze
afa3e89890
scripts/update.sh: add verbose error message when commit cannot be found ( #1794 )
...
This displays the branch, repo and commitID that was attempted to update to but
failed. Users then can compare this output to the configuration they meant to
activate in modules and hopefully better find their typos.
2019-08-21 23:48:06 +02:00
Matthias Schiffer
2e6d457ec1
scripts/update.sh: don't hide errors because of invalid commit IDs
2017-02-12 08:03:46 +01:00
Matthias Schiffer
78b2775eec
Use LEDE as base for Gluon
2017-01-18 17:21:43 +01:00
Jan-Tarek Butt
0f3e660842
scripts: improve variable escaping
2016-10-10 05:57:35 +02:00
Matthias Schiffer
b2473f05cb
scripts/update.sh: don't disable commit signing for modules
2016-08-27 21:31:54 +02:00
Matthias Schiffer
0eac102971
scripts/update.sh: fix checkout of correct base commit after fetching
2016-08-12 09:23:07 +02:00
Matthias Schiffer
bb3db1795b
update/patch: avoid applying patches directly in build repos
...
Switching branches and applying patches in the build repos will
unnecessarily touch many files, causing rebuilds of packages that didn't
really change; furthermore, it is filling the reflog with many entries.
Don't ever switch to base branch in the build repos and apply patches in
a temporary clone to avoid these issues.
In addition, GPG signing is generally disabled in the build repos to
override potential global configuration (as signing doesn't make sense and
will slow down rebases).
2016-08-09 03:41:52 +02:00
Matthias Schiffer
d5f5ce74e8
build: add module separators/headings to patch/update/update-patches scripts
...
Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
2016-03-26 00:03:04 +01:00
Johannes Rudolph
13658879e5
git submodules
...
Possibility to work with git submodules
2016-03-06 03:09:09 +01:00
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
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
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
1b33134353
Make patch and update scripts a bit nicer
2013-12-28 21:35:16 +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