Age | Commit message (Collapse) | Author | Files | Lines |
|
The old script had several problems so I decided to do a full rewrite.
The improvements include :
* better and safer parsing of PKGBUILDs
It now uses separate parse_pkgbuilds.sh bash script (inspired from namcap)
* much better performance
A python module for calling vercmp natively, and the algorithm for checking
circular dependencies was greatly improved
* more accurate dependency and provision handling
Now versioned dependencies and provisions are handled correctly.
After building the python module and moving it next to the main script, it
should be possible to use it like this :
For core and extra :
./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=core,extra
./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=core,extra
For community :
./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=community
./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=community
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
To much output sent to the dev list, this needs to be
sent to the aur-general list separately
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
* Add configurable subject
* Add To: and From: headers
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Patch this on devtools - to run against /home/abs, we'd use:
./check_archlinux.py --abs-tree=/home/abs/rsync/i686 --arch=i686
./check_archlinux.py --abs-tree=/home/abs/rsync/x86_64 --arch=x86_64
Signed-off-by: Travis Willard <travis@archlinux.org>
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>
|
|
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>
|
|
Signed-off-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This is to be used for integrity checked, generated
perhaps once a day
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: Thomas Bächler <thomas@archlinux.org>
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>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
I don't know what changed, but I am committing to check!
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This way, all package files get cleaned up properly
at the end of the process.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
HAH!
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
New test suggested by Thomas via cleanup2.sh script
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This script makes sure we all have write access to
the repos
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Thanks Pierre for the suggestion. This is much more in line
with the existing DB scripts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Used to easilly move a package from one repo to another
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 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>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This script deletes by package NAME only. Additionally, it
also removes from svn. The goal is to simplify the process
of removing packages.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Left in a comment while debugging
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
We don't use fakeroot anymore in these scripts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Leftovers - accidental commit
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Remove all package file we added or removed
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This allows us to intuitively handle on-the-fly repos
by calling `db-update foobar i686` for the foobar-i686
tag, and let us fail on the server side if the repo
hasn't been approved/created by someone with admin rights.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
We accidentally were calling repo-add/repo-remove
with invalid (empty) params.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
I sure didn't
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This is silly and broken anyway. We can do this with a
cron script later
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Also, added a pretty comment. It's so pretty!
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Packages can be differentiated now by $CARCH in the
filename. No need for this extra dir.
Also, using absolute paths for binaries
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
These snuck in in a previous commit
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|