Commit graph

64 commits

Author SHA1 Message Date
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
Loui Chang
d210584afd Import md5 from hashlib in tupkgs.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-26 23:04:17 -05:00
Loui Chang
b8f86c505b Update tupkg to use hashlib instead of md5 directly.
Reported-by: Imanol Celaya <ilcra1989@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13 17:27:20 -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
Loui Chang
100451a966 Commit version of communitypkg in current use.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-03 20:51:36 -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
pjmattal
a19d27a70a fixed bug #5779 - error with + in package names 2007-02-11 21:56:33 +00:00
simo
89d6607684 sql wansn't escaped on inserting package sources 2006-11-23 19:24:08 +00:00
simo
a103c7b14c fixed configuration parsing in tupkg 2006-10-23 23:12:05 +00:00
simo
885f309fba Close #4757, bad permissions in repo db generation 2006-06-12 23:02:25 +00:00
simo
11a246232c progress patch from iphitus 2006-02-19 00:13:39 +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
simo
2d59d0d873 tupkgs only connects to sql database for duration of auth 2005-12-18 04:25:38 +00:00
simo
1c4883edba More descriptive tupkg error message
Catch sql server connection death
2005-12-18 00:17:58 +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
09517611f6 Fix tupkg server crash when empty password 2005-06-17 01:31:38 +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
simo
e6ae7bcfbd Added communitypkg
Added config file support to tupkg
2005-04-24 05:30:11 +00:00
pjmattal
153cc0dc88 misc updates off of pedantic from long ago 2005-04-11 01:13:23 +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
828615ad07 fixes to the parsing of file dirs 2005-01-23 23:37:35 +00:00
jchu
a243a78f5a made the config dict accessible everywhere 2005-01-23 23:30:54 +00:00
jchu
9c0af6358a made changes to move some confs 2005-01-23 22:46:30 +00:00
pjmattal
94e2a43574 updated tupkgs to work with md5 passwords 2005-01-23 21:47:35 +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
jchu
91c3f94ff9 commited neotuli's patch for source links 2004-12-26 20:12:46 +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
jchu
ad8f499147 added resume support on the server side 2004-12-13 04:07:09 +00:00
jchu
592565d863 made it a nicer error message 2004-12-13 03:45:40 +00:00
jchu
18769e5b02 made the socket connection broken checking actually work 2004-12-13 03:40:48 +00:00
jchu
c0b9a256aa added incoming directory support and made the server not use 100% cpu busy waiting 2004-12-13 03:12:12 +00:00
pjmattal
5f03363d34 moved subzero-password 2004-12-06 03:21:27 +00:00