X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=TODO;h=37242cdf08acfcfead0f0182f3e6d499d2444862;hb=4b1f58307944ad61bb5708d6b82aea41cc1316a8;hp=cff5c83da75dc223daedd0179d6d6e877f4aa2a1;hpb=4549cd976b0aaff06089a751527e0dbcbaaa0398;p=dak.git diff --git a/TODO b/TODO index cff5c83d..37242cdf 100644 --- a/TODO +++ b/TODO @@ -1,37 +1,44 @@ TODO ==== +[NB: I use this as a thought record/scribble, not everything on here + makes sense and/or is actually ever going to get done, so IIWY I + wouldn't use it as gospel for the future of katie or as a TODO + list for random hacking.] + ================================================================================ Actually Urgent --------------- - o lisa doesn't do the right thing with -2 and -1 uploads, as you can - end up with the .orig.tar.gz not in the pool - - o lisa exits if you check twice (aj) - - o lisa doesn't trap signals from fernanda properly + o UrgencyLog stuff should minimize it's bombing out(?) + o Log stuff should open the log file g+w lamer + elmo_home: (although, if you haven't already, you might want to add a `Reject: invalid character in Version:' check to katie sometime) + elmo_home: (at least while auric's apt doesn't handle ~'s) More Urgent ----------- - o cross-suite version checking + Can't read file.: /org/security.debian.org/queue/accepted/accepted/apache-perl_1.3.9-14.1-1.21.20000309-1_sparc.katie. You assume that the filenames are relative to accepted/, might want to doc or fix that. + + o permissions (paranoia, group write, etc.) configurability and overhaul - Priority based; stable == 1, proposed-update == 2, etc. + o ove option for lisa byhand proecessing - i.e. A package targeted for a suite, must have a higher (or - equal) version number than anything in a suite with a lower - priority and also must have a lower (or equal) version number - than anything in a suite with a higher priorty. The checks are - always "or equal to" because two seperate uploads with the same - version will fail thanks to the file overwrite errors (at least - ignoring potato) and multi-suite uploads (e.g. "stable - unstable") need to work. + o rene could do with overrides + + o db_access.get_location_id should handle the lack of archive_id properly + + o the whole versioncmp thing should be documented + + o lisa doesn't do the right thing with -2 and -1 uploads, as you can + end up with the .orig.tar.gz not in the pool + + o lisa exits if you check twice (aj) - o jenna sucks + o lisa doesn't trap signals from fernanda properly - o queued and/or perl on sparc stable sucks + o queued and/or perl on sparc stable sucks - reimplement it. o aj's bin nmu changes @@ -45,17 +52,15 @@ More Urgent o trap fernanda exiting o distinguish binary only versus others (neuro) - o change utils.copy to try rename() first - o cache changes parsed from ordering (careful tho: would be caching - .changes from world writable incoming, not holding) + .changes from world writable incoming, not holding); katie should + certainly be using .katie files, not parsing changes, that's just + silly. o katie doesn't recognise binonlyNMUs correctly in terms of telling who their source is; source-must-exist does, but the info is not propogated down. - o DONE clean up - o Fix BTS vs. katie sync issues by queueing(via BSMTP) BTS mail so that it can be released on deman (e.g. ETRN to exim). @@ -77,29 +82,31 @@ More Urgent unstable and source-ver ~= source-ver in testing; then map unstable -> testing-updates ? - o [Hard] dependency checking (esp. stable) (partially done) - - o hooks for debian specific checks (e.g. check_urgency) - - o Logging [mostly done] (todo: rhona (hard), .. ?) - - o Abstraction of suite hardcoding (q.v. progengy) + o hooks or configurability for debian specific checks (e.g. check_urgency, auto-building support) o morgue needs auto-cleaning (?) - o auto-building crap should be optional - ================================================================================ Less Urgent ----------- + o change utils.copy to try rename() first + + o [hard, long term] unchecked -> accepted should go into the db, not + a suite, but similar. this would allow katie to get even faster, + make madison more useful, decomplexify specialacceptedautobuild and + generally be more sane. may even be helpful to have e.g. new in the + DB, so that we avoid corner cases like the .orig.tar.gz disappearing + 'cos the package has been entirely removed but was still on + stayofexecution when it entered new. + + o Logging [mostly done] (todo: rhona (hard), .. ?) + o jennifer is leaking file descriptors.. o the tar extractor class doesn't need to be redone for each package - o interrupting of stracing jennifer causes exceptions errors from apt_inst calls - o reverse of source-must-exist; i.e. binary-for-source-must-not-exist o REJECT reminders in shania. o fernanda should check for conflicts and warn about them visavis priority [rmurray] @@ -115,10 +122,8 @@ Less Urgent o To incorporate from utils: @ unreject - o katie could vrfy email addresses (?) [errge@] o auto-purge out-of-date stuff from non-free/contrib so that testing and stuff works o doogie's binary -> source index - o Add urgency + installed date to the DB for aj/testing (? still needed ?) o jt's web stuff, matt's changelog stuff (overlap) o [Hard] Need to merge non-non-US and non-US DBs. @@ -131,6 +136,7 @@ Less Urgent o Improve andrea. o Need to optimize all the queries by using EXAMINE and building some INDEXs. + [postgresql 7.2 will help here] o Need to enclose all the setting SQL stuff in transactions (mostly done). o Need to finish alyson (a way to sync katie.conf and the DB) o Need the ability to rebuild all other tables from dists _or_ pools (in the event of disaster) (?) @@ -149,16 +155,16 @@ Less Urgent * Harder: + o interrupting of stracing jennifer causes exceptions errors from apt_inst calls + o dependency checking (esp. stable) (partially done) o override checks sucks; it needs to track changes made by the maintainer and pass them onto ftpmaster instead of warning the maintainer. o need to do proper rfc822 escaping of from lines (as opposed to s/\.//g) - o when dinstall is run in install mode but not as a cron job, it - should probably run jenna to avoid madison originated user confusion o Revisit linking of binary->source in install() in katie. o Fix component handling in overrides (aj) o Fix lack of entires in source overrides (aj) - o direport misreports things as section 'devel' + o direport misreports things as section 'devel' (? we don't use direport) o vrfy check of every Maintainer+Changed-By address; valid for 3 months. o binary-all should be done on a per-source, per-architecture package basis to avoid, e.g. the perl-modules problem. @@ -172,31 +178,29 @@ Less Urgent o katie/jenna/rhona/whatever needs to clear out .changes files from p-u when removing stuff superseded by newer versions. [but for now we have halle] - o test sig checking stuff in test/ (stupid thing is not modularized) + o test sig checking stuff in test/ (stupid thing is not modularized due to global abuse) o when encountering suspicous things (e.g. file tainting) do something more drastic * Easy: + o suite mapping and component mapping are parsed per changes file, + they should probably be stored in a dictionary created at startup. + o don't stat/md5sum files you have entries for in the DB, moron + boy (Katie.check_source_blah_blah) o promote changes["changes"] to mandatory in katie.py(dump_vars) after a month or so (or all .katie files contain in the queue contain it). - o Rationalize config stuff.. Dir::Foo not Dir::FooDir [breaks other people??] - Also Dir::Queue::Foo, not Dir::QueueFooDir o melanie should behave better with -a and without -b; see gcc-defaults removal for an example. o Reject on misconfigured kernel-package uploads - o denise abuses sys.stdout == badly o utils.extract_component_from_section: main/utils -> main/utils, main rather than utils, main - o Fix katie to warn if run when not in incoming or p-u - o check for empty debs; check for empty (or small (<1k ?)) .tar.gz's. + o Fix jennier to warn if run when not in incoming or p-u o katie should validate multi-suite uploads; only possible valid one is "stable unstable" o cron.daily* should change umask (aj sucks) o Rene doesn't look at debian-installer but should. o Rene needs to check for binary-less source packages. o Rene could accept a suite argument (?) - o run shania every day (?) [ryan] - o we don't check for .orig.tar.gz's, so it's possible to upload -2 with no .orig.tar.gz. o byhand stuff should send notification o catherine should udpate db; move files, not the other way around [neuro] o melanie should update the stable changelog [joey] @@ -204,9 +208,9 @@ Less Urgent * Bizzare/uncertain: - o validate source consistency, i.e. .dsc and .tar.gz as minimum (??) + o drop rather dubious currval stuff (?) + o rationalize os.path.join() usage o Rene also doesn't seem to warn about missing binary packages (??) - o jenna should not delete things because they don't exist (?) o logging: hostname + pid ? o ANAIS should be done in katie (?) o Add an 'add' ability to melanie (? separate prog maybe) @@ -219,15 +223,6 @@ Less Urgent o db_access' get_files needs to use exceptions not this None, > 0, < 0 return val BS (?) o The untouchable flag doesn't stop new packages being added to ``untouchable'' suites - o jenna is too slow - o jenna doesn't handle arch: any -> arch: all transitions - [aj worked around; need to revisit] - - * Stable: - - well, there's one other thing that doesn't work so well - you probably should have stable_install ignore Closes: - or it might be unique to the case of stable unstable uploads ================================================================================