summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* include_changes(): Refactor to fix odd behavior.P. J. McDermott2014-05-011-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | Before: $ pro-archman -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Removing package opkg from suite dev/trunk... rmdir: failed to remove `proteanos/feeds/dev/trunk/all/all//.db//info': No such file or directory /usr/bin/pro-archman: 15: cannot create proteanos/feeds/.db/dev_trunk/all_all//: Is a directory rmdir: failed to remove `proteanos/feeds/dev/trunk/amd64-linux-glibc/all//.db//info': No such file or directory /usr/bin/pro-archman: 15: cannot create proteanos/feeds/.db/dev_trunk/amd64-linux-glibc_all//: Is a directory pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Including opkg (0.2.2-1) into dev/trunk... After: $ pro-archman -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Removing package opkg from suite dev/trunk... pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Including opkg (0.2.2-1) into dev/trunk...
* collect_garbage(): Use file input, not heredoc.P. J. McDermott2014-05-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes garbage collection. Before: $ pro-archman -v -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Updating feeds... pro-archman: Collecting garbage... pro-archman: Deleting file ... rm: cannot remove ‘proteanos/’: Is a directory pro-archman: 52: [: Illegal number: proteanos/.db/garbage/1398956970 pro-archman: Deleting file ... rm: cannot remove ‘proteanos/’: Is a directory pro-archman: 52: [: Illegal number: proteanos/.db/garbage/1398956971 After: $ pro-archman -v -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Updating feeds... pro-archman: Collecting garbage... pro-archman: Deleting file pool/o/opkg/libopkg.1-dev_0.2.0-1_all_all.opk... pro-archman: Deleting file pool/o/opkg/opkg-doc_0.2.0-1_all_all.opk... pro-archman: Deleting file pool/o/opkg/libopkg.1_0.2.0-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg-dbg_0.2.0-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg_0.2.0-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/_0.2.2-1_all_all.opk... pro-archman: Deleting file pool/o/opkg/_0.2.2-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/libopkg.1_0.2.0-1_i686-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg-dbg_0.2.0-1_i686-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg_0.2.0-1_i686-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/src-opkg_0.2.0-1_src_all.opk...
* lib/index.sh: Add another verbose message.P. J. McDermott2014-04-301-0/+3
|
* lib/index.sh: Add missing "use" commands.P. J. McDermott2014-04-301-0/+2
|
* lib/garbage.sh: Add some verbose output.P. J. McDermott2014-04-301-0/+7
|
* lib/remove.sh: Add a verbose message.P. J. McDermott2014-04-301-0/+3
|
* Move package removal message.P. J. McDermott2014-04-302-3/+5
| | | | Also, make it a little more verbose.
* Move suite-related messages.P. J. McDermott2014-04-303-4/+8
|
* lib/index.sh: Add some verbose output.P. J. McDermott2014-04-301-0/+8
|
* info_v(): New function.P. J. McDermott2014-04-301-0/+10
|
* feed_add_package(): Add "SHA256sum" field.P. J. McDermott2014-03-071-1/+2
|
* Internationalize copyright and license notice.P. J. McDermott2013-10-121-6/+2
|
* Replace ${opt_base_dir} with ${base_dir}.P. J. McDermott2013-10-124-27/+27
|
* process-incoming: Add missing return.P. J. McDermott2013-10-121-0/+2
|
* Move init() and fini() calls into commands.P. J. McDermott2013-10-125-0/+20
| | | | Now locking really isn't done for help and version commands.
* help: Change "local cmd" to "local cmd=".P. J. McDermott2013-10-121-1/+1
|
* help: Remove unused variable.P. J. McDermott2013-10-121-1/+0
|
* OPTSTRING: New global variable.P. J. McDermott2013-10-122-3/+2
|
* Print option arguments in help output.P. J. McDermott2013-10-122-3/+31
|
* help: Document options.P. J. McDermott2013-10-111-0/+8
|
* version: New command.P. J. McDermott2013-10-112-0/+31
|
* Add missing include guards to some library files.P. J. McDermott2013-10-117-0/+21
|
* error(), warn(), info(): Print args to stderr.P. J. McDermott2013-10-111-3/+3
|
* process-incoming: Remove processed files.P. J. McDermott2013-10-111-1/+8
|
* include_changes(): Output list of files.P. J. McDermott2013-10-111-2/+6
|
* include_changes(): Check format field.P. J. McDermott2013-08-151-0/+8
|
* include_changes(): Read section from changes file.P. J. McDermott2013-08-151-4/+3
|
* update_feeds(): Reverse arch and plat.P. J. McDermott2013-08-151-1/+1
|
* Reverse arch and plat in feeds db paths.P. J. McDermott2013-08-151-6/+6
|
* Reverse arch and plat in feeds paths.P. J. McDermott2013-08-151-3/+3
|
* feed_*_package(): Reverse arch and plat in args.P. J. McDermott2013-08-154-7/+7
|
* _suite_copy_source(): Reverse arch and plat.P. J. McDermott2013-08-141-1/+1
|
* remove_source_from_suite(): Reverse arch and plat.P. J. McDermott2013-08-141-1/+1
|
* remove_packages_from_suite_archplat(): Reverse.P. J. McDermott2013-08-142-4/+4
|
* db_get_archplats(): Reverse arch and plat.P. J. McDermott2013-08-142-2/+2
|
* db_del_binver(): Update a comment.P. J. McDermott2013-08-141-1/+1
|
* db_*_references(): Reverse arch and plat.P. J. McDermott2013-08-144-7/+7
|
* db_*_package*(): Reverse arch and plat.P. J. McDermott2013-08-144-10/+10
|
* db_*_binver(): Reverse arch and plat.P. J. McDermott2013-08-144-15/+15
|
* error(): Clean up before exiting.P. J. McDermott2013-07-291-0/+2
|
* update_feeds(): Really rmdir empty feed hash dirs.P. J. McDermott2013-07-291-1/+1
|
* update_feeds(): Remove empty feeds.P. J. McDermott2013-07-291-15/+32
|
* remove-suite: Implement.P. J. McDermott2013-07-282-1/+41
|
* _suite_copy_source(): Increment reference counter.P. J. McDermott2013-07-281-0/+2
|
* copy-suite: Implement.P. J. McDermott2013-07-282-1/+49
|
* lib/suite.sh: Fix use of remove module.P. J. McDermott2013-07-281-1/+2
|
* _suite_copy_source(): Set srcver and binvers.P. J. McDermott2013-07-281-0/+6
|
* db_foreach_source(): Fix callback arguments.P. J. McDermott2013-07-281-0/+2
|
* Add size to pool packages index files.P. J. McDermott2013-07-284-6/+9
|
* lib/suite.sh: New file.P. J. McDermott2013-07-282-0/+85
|