Commit graph

71 commits

Author SHA1 Message Date
Loui Chang
6de9b376d8 Stop printing passwords in tupkgs output.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-04 16:44:19 -05:00
Loui Chang
6c3e393d4e Correct hashlib.md5 usage in tupkg and tupkgs.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-04 16:27:50 -05:00
Loui Chang
186abc852a Move tupkg scripts to tupkg/scripts.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-11 10:22:15 -05:00
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
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