Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This may look like a rather large patch, but the changes are mostly a
reshuffling of the code to loop over all arches first, and then handle
the arch-indep packages. The cronjob has been changed accordingly.
Added new category DELETESYMLINKS, which are deleted instead of being
moved to package-cleanup. I have also fixed the arch-specific issue
with the ftppath, using parameters in config instead.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Failed hard on empty 'any' directories
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Previous logic was stupid... let's just check the missing files.
If it's missing and exists in the any dir, then common sense says
we deleted a symlink somewhere...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
* Break out ftppath, base it on ftbpath_base
* Only check ARCHINDEPFILES if the any dir exists
* Attempt to restore symlinks before moving 'any' files out of the way
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
3rd argument to the script
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
* don't add files with arch=any to EXTRAFILES
* replace && by -a within [ ]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Removes architecture independent packages which are
not symlinked in any of the architecture repositories.
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This prevents dangling sourceballs sitting around
when things start to fail or licenses are changed.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Remove the goofy -e and add the pkgname
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This aids with cleanup, and we really didn't
need multiple files anyway :)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Original-work-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This ensures the 'cp' succeeds
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Only remove sourceballs that do NOT exist in any repo
This code is experimental
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
We source the PKGBUILD, which causes issues here
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This is done mainly so we can get a log of all failures
and ignore normal output
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
One log file per package, in /var/log/sourceballs for easier
lookup and reference.
Log file is removed if the command succeeds, and gzipped on failure
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Confirm that the license of a package requires source
distribution before building the source tarball
TODO: Make sure we can skip this check somehow
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
* --allsource places packages in dirs with the pkgname
* Syntax errors with if statement and globbing
* Set and restore umask
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Edited-by: Aaron Griffin <aaronmgriffin@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Mainly for output cleanup
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
* Add a top-level directory to the tarball
* Use makepkg -gc and compress the dir - simpler
* Other stuff, I'm sure
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This may need to be moved out of here later /me shrugs
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This would break all adds if there were any deletes.
We definitely don't want that.
Also, cleanup of cron scripts in the same commit because
I'm lazy
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|