[oe] [ANNOUNCE] witpa - content addressable package URL maintenance

Leon Woestenberg leon.woestenberg at gmail.com
Sun Mar 9 14:50:32 UTC 2008


Hello,

The result of a weekend code sprint, as an excuse to learn sqlite3 but
mostly because OpenEmbedded builds often break if downloads/ is empty.

http://www.sidebranch.com/witpa/

A package URL maintenance tool. See usage and example below. Would be
neat to have this as a web service.

./witpa -h

witpa - where is that package at?
Maintains a list with valid URLs for a package, has Google capabilities.

create       - Create new database 'package.db'.
add <url>    - Add known good URL.
google <pkg> - Find/validate/add package URLs.
where <pkg>  - Print all URLs of a package.
delete <pkg> - Delete package data.
show <pkg>   - Show all info of given package.
list         - Show all packages with sums.
import       - Import known-good data from (OpenEmbedded) checksums.ini.


Example:


./witpa create
Creating database 'packages.db'.

./witpa import ~/sandbox/openembedded/org.openembedded.dev/conf/checksums.ini
Importing package data from 'checksums.ini'...
(This may take a minute.)
Imported 3265 packages.

./witpa add http://bitshrine.org/gpp/dtc-1.0.0.tgz
Inserting new package.
http://bitshrine.org/gpp/dtc-1.0.0.tgz
cca7b9219bc6e39926480f651c30d67a
8228023bb787460e33f6e63ab8cc032599b0ca2f54db4db97dd3e9006f983c59[NEW ADDED ]

./witpa google http://bitshrine.org/gpp/dtc-1.0.0.tgz

./witpa where http://bitshrine.org/gpp/dtc-1.0.0.tgz
http://bitshrine.org/gpp/dtc-1.0.0.tgz
http://kambing.ui.edu/gentoo/distfiles/dtc-1.0.0.tgz
http://gentoo.netnitco.net/distfiles/dtc-1.0.0.tgz
http://distfiles.gentoo.org/distfiles/dtc-1.0.0.tgz
http://www.las.ic.unicamp.br/pub/gentoo/distfiles/dtc-1.0.0.tgz
http://tldp.etf.bg.ac.yu/gentoo/distfiles/dtc-1.0.0.tgz
http://gentoo.mirrors.pair.com/distfiles/dtc-1.0.0.tgz
http://cudlug.cudenver.edu/gentoo/distfiles/dtc-1.0.0.tgz
http://ftp.cgu.edu.tw/Linux/Gentoo/gentoo/distfiles/dtc-1.0.0.tgz
http://gentoo.modulix.net/gentoo/distfiles/dtc-1.0.0.tgz
http://gentoo.llarian.net/distfiles/dtc-1.0.0.tgz


Waiting for feedback,


Regards,
-- 
Leon




More information about the Openembedded-devel mailing list