Age | Commit message (Collapse) | Author | Files | Lines |
|
The parse_pkgbuilds.sh script was assumed to be in the current working
directory, which is quite stupid since check_packages.py can be called from
anywhere. Now it only assumes that check_packages.py and parse_pkgbuilds.sh
are in the same directory.
This should fix the empty integrity checks on arch-dev :)
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
db-update
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This was extraneous info. Not needed as higher granularity can
be gleaned from the mail's date
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>
|
|
This is needed because we do lots of things via relative
paths, and scripts in the misc-scripts dir may need some
of these functions too
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
The parsing script didn't set CARCH previously, and the flashplugin PKGBUILD
exited in this case.
First override the exit function to prevent the whole script to exit, and
add a --arch option to be able to set CARCH correctly.
To be used like this :
For core and extra :
./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=core,extra --arch=i686
./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=core,extra --arch=x86_64
For community :
./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=community --arch=i686
./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=community --arch=x86_64
Signed-off-by: Xavier Chantry <shiningxc@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>
|
|
* --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>
|
|
This prevents some errors where packages where removed
from the staging dir when they shouldn't have been.
Original-idea-by: Pierre Schmitz <pierre@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This assumes the -q flag patch is accepted for pacman 8)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This may get removed from makepkg.conf in the future,
so let's make sure we cover our ass
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Do not touch missing db files. Additionally, no
need to call db-remove if the db file doesn't exist
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
repo-add works fine if no db file exists
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Clean up output so that we don't get double slashes
FS#12241
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
We were copying our DB file from the repo to
our temp build dir all the time. We should only
do this if there are packages to add
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
If add/del dirs exist, we try to fix it all up and it can
error quite loudly
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
If we call set_umask more than once, make sure we don't
overwrite our initial umask, so we can restore it right
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This should hopefully cover all our permission bases with
regard to new files
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
The chmod doesn't work unless the user is the owner of the file
Resorting to umask changes here
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
The local variable 'arch' was being overwritten when we
source PKGBUILDs. Change it to _arch wherever we deal
with PKGBUILD files
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
db-remove is superior and requiring package files is dumb.
Kill off this dir and clean up some code, yay!
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: 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>
|
|
This prevents us from trying to remove the lockfile
twice, and calling cleanup multiple times
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
dirname was failing if the target was a dir
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Additionally, make TMPDIR configurable so we can move that
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This should allow us to move FTP and SVN placement
around
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Lower the job priority of our cron jobs so they don't interfere with other
more important things on the server. None of these are very CPU intensive,
but priority for I/O operations should go elsewhere.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This one portion of the adjust-permissions script takes over a minute of
wall clock time to run on gerolde when no other cron jobs are running. It
takes three minutes when we hit the hour mark on the clock due to everything
else going at the same time. A find on /home/aur/unsupported reveals this
command will need to touch ~77000 files.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This will force all files copied back and forth to have
0664 permissions so that we can attempt to do away with
this permission adjusting cron job
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
It is not possible to check the klibc dep on the PKGBUILD level, so I made a
hack to skip it.
This hack broke on klibc-jfflyAahxqaliwAofrf_fdf5upI because of the
underscore.
But we can simply use the \w regexp which matches any alpha-numeric char,
including underscore. According to klibc developer, dashes are possible too.
Also the length of this string is always 27 chars, so we can use that.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This is to allow moves to /home/ftp/ to remain on the same
filesystem, thus making the final moves atomic
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Apparently, people seem to be renaming files as a "hack" and
breaking things. Let's make sure they edited the PKGINFO too
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>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|