Commit graph

37 commits

Author SHA1 Message Date
Loui Chang
5b47a29d2b Add some more error checking to tupkgupdate.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-10 21:11:52 -05:00
Loui Chang
a195e38901 Fix incorrect indentation causing errors in tupkgupdate.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-10 20:14:23 -05:00
Loui Chang
9023b22c8b Remove trailing whitespace.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-10 18:57:59 -05:00
Loui Chang
cf2a97701a Replace deprecated os.popen2 with subprocess.Popen in tupkgupdate.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-04 15:23:58 -05:00
Loui Chang
b513130f3a Rework tupkgupdate scripts.
Most work is done on tupkgupdate.
Fix some indentation problems.
Add some whitespace for style points.
Add a new --config switch to specify a config file path.
Add a new usage() function that documents the switches more clearly.
Delete all gensync code.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-26 23:04:28 -05:00
Dan McGee
53bb32a15a tupkgupdate: remove dead code
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-12 06:59:12 -05:00
Dan McGee
3c8442d70c tupkgupdate: add config_use_db check to allow skipping of DB operations
This should prevent us from needing to completely duplicate the tupkgupdate
script for x86_64, where we currently skip the DB updates step.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-12 06:59:12 -05:00
Dan McGee
7a1169431a tupkgupdate: expand all tabs
90% of them were already expanded. Adjust the mode line accordingly.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-12 06:59:12 -05:00
pjmattal
256eb2543c updated tupkgupdate64 to match tupkgupdate new changes 2007-06-16 12:40:00 +00:00
pjmattal
df8c5ef53a added modified tupkgupdate and tupkgupdate64 2007-06-16 12:29:43 +00:00
pjmattal
d397bac2d1 fixes to tupkgupdate to use repo-add and repo-remove 2007-05-26 12:24:01 +00:00
simo
89d6607684 sql wansn't escaped on inserting package sources 2006-11-23 19:24:08 +00:00
simo
885f309fba Close #4757, bad permissions in repo db generation 2006-06-12 23:02:25 +00:00
simo
f47b09de42 tupkgupdate resource usage improvements
now gets binary package name/ver/rel from filename, rather than untarring
2005-12-31 05:54:11 +00:00
simo
adcf3cecd0 fixed persistent mysql connections in tupkgupdate 2005-12-18 05:10:04 +00:00
pjmattal
263014b1db added first version of tupkgupdate-lite
this is not even really ready to be RUN yet
2005-10-22 18:23:51 +00:00
simo
d97a0a376b Tupkgupdate now uses updatesync 2005-06-20 07:30:09 +00:00
simo
02b82cf9ba Fixed a bug waiting to happen in runGensync 2005-06-20 06:55:05 +00:00
simo
f7a0009ed7 Added ModifiedTS to Packages database
Implemented ModifiedTS such that:
  -ModifiedTS changed ONLY when package updated
  -SubmittedTS changed ONLY when new package
Also made DummyPkg fixups in tupkgupdate
2005-05-08 02:01:15 +00:00
pjmattal
6157aea843 added more safe checks on result codes from file deletes in tupkgupdate 2005-04-10 15:32:45 +00:00
pjmattal
b78a20c335 fixed bugs in tupkgupdate
made link to CVS for package files in community go to CURRENT tag
2005-04-10 02:19:19 +00:00
pjmattal
108dc557ba small fix to the fancy unsupported-->community update
more user doc fixes
2005-04-10 01:10:50 +00:00
pjmattal
3cdff3b929 added check for new package going transitioning from unsupported --> community getting maintainer reset
hardcoded community as the name of the repo, for now
2005-04-10 00:56:26 +00:00
pjmattal
da80234d77 added capability to get category from the directory in CVS
fixed bogus reference to subzero in the user docs
2005-04-10 00:31:01 +00:00
pjmattal
4e6a07e84f fixed obvious tupkgupdate bug introduced by other fix 2005-02-23 05:39:18 +00:00
pjmattal
256f0ff0cf fixed minor bugs 2005-02-23 05:31:39 +00:00
pjmattal
eb000511da make sure all dummy packages are created in tupkgupdate in location 1 2005-02-23 05:16:24 +00:00
pjmattal
dde20ef6bb fixed several bugs 2005-02-23 05:06:41 +00:00
pjmattal
9277a9d7d1 switched back to bash for processing PKGBUILDs
this works much better and has very cool results
2005-01-24 02:24:02 +00:00
pjmattal
25f0a8bd50 many many changes
db fixes
should work fairly well now
2005-01-24 01:48:43 +00:00
pjmattal
ea51039970 added a LOT of database stuff 2005-01-23 20:40:07 +00:00
pjmattal
edfde9187c old changes; fixed one subtle handling where there's no new package
but no update, so it's okay
2005-01-22 06:52:26 +00:00
pjmattal
a3e04c5124 kept it from running gensync when no changes were made
made --delete actually delete files that are copied
2004-12-15 03:51:55 +00:00
pjmattal
cd539facb8 added parsing of PKGBUILD by using bash 2004-09-14 03:15:56 +00:00
pjmattal
272d00879c added a lot
-n flag (dramatize)
--delete flag (delete bad pkgs from build tree)
--paranoid (double check packages with identical versions)
many enhancements to args (getopt)
2004-09-13 03:54:26 +00:00
pjmattal
5134e76659 changed to work with pacman python lib 2004-09-12 00:48:46 +00:00
pjmattal
e8324292ff added tupkgupdate 2004-09-11 20:17:55 +00:00