-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build,travis: add script from openwrt/packages.git #1317
Conversation
c345514
to
e37e896
Compare
|
19da14a
to
8505dab
Compare
|
@aparcar why do you want to filter the files? Do you have any example when the script would otherwise fail? |
@lynxis the other folders do not contain Makefiles so I thought no packages can result -> nothing to build |
94a517e
to
f9c4d01
Compare
add .travis.yml and a slightly modiefied .travis_do.sh to fit the luci.git repository structure. Builds all changed packages of the applications/ folder. Script is adapted from openwrt/packages.git based on @lynxis work. Changes of script are mostly: * 68: PKGS var is set differently due auto versioning of luci packages * 88: use Githubs openwrt/packages.git as feed * 101, 112: no need to parse pkg_name * 188: generic first hash Signed-off-by: Paul Spooren <[email protected]>
@lynxis please see line 188. It reads the first commit id so it could be used for packages.git as well. |
@aparcar LGTM. Do you tested it? |
thanks for your work! |
Hi @aparcar |
@champtar what do you mean with all cases? I tried it and it works as (I) expected. I started on a more generic approach but it got a bit messy as https://github.com/openwrt-routing/packages uses a different structure/depth of packages. |
I think this could be closed because of |
@feckert thanks for reviewing, when I created the other PR I totally forgot about this one! |
add .travis.yml and a slightly modiefied .travis_do.sh to fit the
luci.git repository structure.
Builds all changed packages of the
applications/
folder.Script is adapted from openwrt/packages.git based on @lynxis work.
Changes of script are mostly:
Signed-off-by: Paul Spooren [email protected]