]> pd.if.org Git - zpackage/log
zpackage
5 years agouse /sbin for tarball and install targets v0.2.16
Nathan Wagner [Sat, 24 Nov 2018 22:01:41 +0000 (22:01 +0000)]
use /sbin for tarball and install targets

5 years agoadd unimplemented sqlite mmap size config
Nathan Wagner [Sat, 24 Nov 2018 01:29:38 +0000 (01:29 +0000)]
add unimplemented sqlite mmap size config

5 years agorewrite zpm-install
Nathan Wagner [Sat, 24 Nov 2018 01:26:45 +0000 (01:26 +0000)]
rewrite zpm-install

zpm-install can now install more than one package at a time, and will
install all packages in a given file if none are specified, or if the -a
option is given.

Once zpm-list defaults to only listing the latest packages, zpm-install
will try to install the latest of any given package, instead of multiple
versions.  That is, zpm-install calls 'zpm list', and uses whatever
comes back.

5 years agocomment out compress timing
Nathan Wagner [Sat, 24 Nov 2018 01:26:19 +0000 (01:26 +0000)]
comment out compress timing

5 years agocompile sqlite with -O3
Nathan Wagner [Sat, 24 Nov 2018 01:25:45 +0000 (01:25 +0000)]
compile sqlite with -O3

5 years agochatter more with verbose add
Nathan Wagner [Sat, 24 Nov 2018 01:25:14 +0000 (01:25 +0000)]
chatter more with verbose add

5 years agoshow sql for failed shell
Nathan Wagner [Sat, 24 Nov 2018 01:24:17 +0000 (01:24 +0000)]
show sql for failed shell

5 years agochanged zpm-test message for missing file
Nathan Wagner [Thu, 22 Nov 2018 09:34:52 +0000 (09:34 +0000)]
changed zpm-test message for missing file

5 years agoadd -I option to zpm-contents
Nathan Wagner [Tue, 20 Nov 2018 21:28:35 +0000 (21:28 +0000)]
add -I option to zpm-contents

5 years agoadd -g option to pathmod to take paths as globs
Nathan Wagner [Mon, 19 Nov 2018 01:44:13 +0000 (01:44 +0000)]
add -g option to pathmod to take paths as globs

5 years agoupdate for repository installing support
Nathan Wagner [Sat, 17 Nov 2018 03:16:08 +0000 (03:16 +0000)]
update for repository installing support

5 years agoadd library dependency views
Nathan Wagner [Wed, 14 Nov 2018 17:57:20 +0000 (17:57 +0000)]
add library dependency views

5 years agoadd library index
Nathan Wagner [Wed, 14 Nov 2018 01:06:54 +0000 (01:06 +0000)]
add library index

5 years agoadd missing merge option
Nathan Wagner [Tue, 13 Nov 2018 21:57:58 +0000 (21:57 +0000)]
add missing merge option

5 years agoadd missing merge option
Nathan Wagner [Tue, 13 Nov 2018 21:54:43 +0000 (21:54 +0000)]
add missing merge option

5 years agomerge print pkglist on verbose
Nathan Wagner [Tue, 13 Nov 2018 20:25:20 +0000 (20:25 +0000)]
merge print pkglist on verbose

5 years agoadd missing option
Nathan Wagner [Tue, 13 Nov 2018 20:23:16 +0000 (20:23 +0000)]
add missing option

5 years agorewrite merge
Nathan Wagner [Tue, 13 Nov 2018 20:13:03 +0000 (20:13 +0000)]
rewrite merge

merge everything if no package specified
take -u option to delete the package before merge

5 years agogeneral search improvements
Nathan Wagner [Tue, 13 Nov 2018 19:32:04 +0000 (19:32 +0000)]
general search improvements

5 years agoadd zpm-search to look for packages and libraries
Nathan Wagner [Tue, 13 Nov 2018 04:51:51 +0000 (04:51 +0000)]
add zpm-search to look for packages and libraries

5 years agoadd options for vercmp output and tests
Nathan Wagner [Sat, 10 Nov 2018 19:35:48 +0000 (19:35 +0000)]
add options for vercmp output and tests

5 years agouse tmp directory for test script
Nathan Wagner [Fri, 9 Nov 2018 22:04:29 +0000 (22:04 +0000)]
use tmp directory for test script

5 years agoadd recursive library dependency view
Nathan Wagner [Fri, 9 Nov 2018 22:03:53 +0000 (22:03 +0000)]
add recursive library dependency view

5 years agoadd library dependencies of libraries
Nathan Wagner [Fri, 9 Nov 2018 22:03:09 +0000 (22:03 +0000)]
add library dependencies of libraries

5 years agoadd -L option to list soname
Nathan Wagner [Wed, 7 Nov 2018 04:25:03 +0000 (04:25 +0000)]
add -L option to list soname

5 years agofix printf formatting
Nathan Wagner [Wed, 7 Nov 2018 04:05:20 +0000 (04:05 +0000)]
fix printf formatting

5 years agoadd foreach_script function
Nathan Wagner [Wed, 7 Nov 2018 01:45:12 +0000 (01:45 +0000)]
add foreach_script function

5 years agofix default db path
Nathan Wagner [Wed, 7 Nov 2018 00:54:23 +0000 (00:54 +0000)]
fix default db path

5 years agofix default db path
Nathan Wagner [Mon, 5 Nov 2018 20:39:39 +0000 (20:39 +0000)]
fix default db path

5 years agochange chown to lchown
Nathan Wagner [Sun, 4 Nov 2018 21:48:51 +0000 (21:48 +0000)]
change chown to lchown

5 years agoskip chmod on symlinks
Nathan Wagner [Sun, 4 Nov 2018 21:45:24 +0000 (21:45 +0000)]
skip chmod on symlinks

5 years agoadd link target to dry run output
Nathan Wagner [Sun, 4 Nov 2018 21:39:40 +0000 (21:39 +0000)]
add link target to dry run output

5 years agochange confusing dry run output
Nathan Wagner [Sun, 4 Nov 2018 21:36:52 +0000 (21:36 +0000)]
change confusing dry run output

5 years agofix printf format string
Nathan Wagner [Sun, 4 Nov 2018 15:19:09 +0000 (15:19 +0000)]
fix printf format string

5 years agoAllow accepting modified config files
Nathan Wagner [Sun, 4 Nov 2018 14:51:32 +0000 (14:51 +0000)]
Allow accepting modified config files

5 years agoincrease syncfs dry-run verbosity
Nathan Wagner [Sun, 4 Nov 2018 14:34:49 +0000 (14:34 +0000)]
increase syncfs dry-run verbosity

Changed the configuration column of the syncinfo view to be a 0 if
neither new or old file was a config file, 1 if the new one is, 2 if the
old one is, and 3 if they both are.  The config file handling logic
needs to know about both.

5 years agoadd -r option to log to reverse order
Nathan Wagner [Sun, 4 Nov 2018 14:02:52 +0000 (14:02 +0000)]
add -r option to log to reverse order

5 years agouse default db for note
Nathan Wagner [Sun, 4 Nov 2018 14:02:03 +0000 (14:02 +0000)]
use default db for note

5 years agoadd notes.file to filerefs view
Nathan Wagner [Sun, 4 Nov 2018 13:53:08 +0000 (13:53 +0000)]
add notes.file to filerefs view

The hash of a held or preserved config file is put in the file
column of a note to store the hash until an admin looks at it.

5 years agoadd passes to zpm-gc
Nathan Wagner [Sat, 3 Nov 2018 14:48:57 +0000 (14:48 +0000)]
add passes to zpm-gc

remove orphaned files

run sqlite vacuum and report before and after size

5 years agoadd -s option to stat to print file size
Nathan Wagner [Sat, 3 Nov 2018 14:46:10 +0000 (14:46 +0000)]
add -s option to stat to print file size

5 years agoadd view to count file refs
Nathan Wagner [Sat, 3 Nov 2018 14:28:54 +0000 (14:28 +0000)]
add view to count file refs

5 years agoadd -v option to log to write to stderr
Nathan Wagner [Sat, 3 Nov 2018 12:33:32 +0000 (12:33 +0000)]
add -v option to log to write to stderr

5 years agoadd options to control config file listing
Nathan Wagner [Sat, 3 Nov 2018 12:17:03 +0000 (12:17 +0000)]
add options to control config file listing

5 years agocleanup dead code
Nathan Wagner [Fri, 2 Nov 2018 15:25:22 +0000 (15:25 +0000)]
cleanup dead code

5 years agoprint link target in contents
Nathan Wagner [Fri, 2 Nov 2018 14:22:57 +0000 (14:22 +0000)]
print link target in contents

5 years agouse lstat for all zpm-add operations
Nathan Wagner [Fri, 2 Nov 2018 13:09:01 +0000 (13:09 +0000)]
use lstat for all zpm-add operations

5 years agoimprove contents and packagehash
Nathan Wagner [Fri, 2 Nov 2018 11:59:26 +0000 (11:59 +0000)]
improve contents and packagehash

Make contents have options more like ls.

Added options to packagehash to show the existing hash.

5 years agoadd where clause argument to findpkg
Nathan Wagner [Thu, 1 Nov 2018 13:00:06 +0000 (13:00 +0000)]
add where clause argument to findpkg

5 years agofix readlink bug in syncfs
Nathan Wagner [Sun, 28 Oct 2018 16:25:25 +0000 (16:25 +0000)]
fix readlink bug in syncfs

5 years agochange calls to zpm runscript to zpm script
Nathan Wagner [Sun, 28 Oct 2018 12:47:24 +0000 (12:47 +0000)]
change calls to zpm runscript to zpm script

5 years agoadd -m option to add to set file mode
Nathan Wagner [Sun, 28 Oct 2018 12:29:24 +0000 (12:29 +0000)]
add -m option to add to set file mode

5 years agoquote package metadata value
Nathan Wagner [Sun, 28 Oct 2018 11:51:34 +0000 (11:51 +0000)]
quote package metadata value

5 years agocombined runscript and setscript
Nathan Wagner [Fri, 26 Oct 2018 15:11:37 +0000 (15:11 +0000)]
combined runscript and setscript

5 years agoadd gc script
Nathan Wagner [Fri, 26 Oct 2018 05:20:25 +0000 (05:20 +0000)]
add gc script

5 years agolog when aborting install
Nathan Wagner [Fri, 26 Oct 2018 05:03:46 +0000 (05:03 +0000)]
log when aborting install

5 years agomake list use default local db
Nathan Wagner [Thu, 25 Oct 2018 17:12:32 +0000 (17:12 +0000)]
make list use default local db

5 years agouse tempfile when extracting
Nathan Wagner [Thu, 25 Oct 2018 17:12:08 +0000 (17:12 +0000)]
use tempfile when extracting

5 years agochange uncompresslzma to take a file descriptor
Nathan Wagner [Thu, 25 Oct 2018 16:30:33 +0000 (16:30 +0000)]
change uncompresslzma to take a file descriptor

5 years agoprint reason for output error on extract
Nathan Wagner [Thu, 25 Oct 2018 13:46:59 +0000 (13:46 +0000)]
print reason for output error on extract

5 years agoadd json to sqlite
Nathan Wagner [Thu, 25 Oct 2018 13:37:52 +0000 (13:37 +0000)]
add json to sqlite

add json output option to zpm-log

5 years agofix local database path
Nathan Wagner [Thu, 25 Oct 2018 12:59:44 +0000 (12:59 +0000)]
fix local database path

5 years agoforce four column width for mode
Nathan Wagner [Thu, 25 Oct 2018 05:29:14 +0000 (05:29 +0000)]
force four column width for mode

5 years agoremove chatter
Nathan Wagner [Wed, 24 Oct 2018 05:34:00 +0000 (05:34 +0000)]
remove chatter

5 years agoremove t/update tmp dir
Nathan Wagner [Sun, 21 Oct 2018 08:54:21 +0000 (08:54 +0000)]
remove t/update tmp dir

5 years agoremove unused install_status view
Nathan Wagner [Sun, 21 Oct 2018 08:35:47 +0000 (08:35 +0000)]
remove unused install_status view

5 years agoadd tests and code for config file updates
Nathan Wagner [Sun, 21 Oct 2018 08:11:50 +0000 (08:11 +0000)]
add tests and code for config file updates

5 years agoimprove shell tap functions
Nathan Wagner [Sun, 21 Oct 2018 08:10:56 +0000 (08:10 +0000)]
improve shell tap functions

5 years agofix add tests to expect absolute paths
Nathan Wagner [Sun, 21 Oct 2018 08:10:44 +0000 (08:10 +0000)]
fix add tests to expect absolute paths

5 years agoadd pkgfile to set file metadata
Nathan Wagner [Sun, 21 Oct 2018 01:51:54 +0000 (01:51 +0000)]
add pkgfile to set file metadata

5 years agoensure all paths are absolute in zpm-add
Nathan Wagner [Sun, 21 Oct 2018 00:54:43 +0000 (00:54 +0000)]
ensure all paths are absolute in zpm-add

5 years agohave tap.sh require use tryrun
Nathan Wagner [Sun, 21 Oct 2018 00:00:11 +0000 (00:00 +0000)]
have tap.sh require use tryrun

5 years agoadd note when installing as .zpmnew
Nathan Wagner [Sat, 20 Oct 2018 12:24:20 +0000 (12:24 +0000)]
add note when installing as .zpmnew

5 years agomark configuration files at add
Nathan Wagner [Sat, 20 Oct 2018 12:23:57 +0000 (12:23 +0000)]
mark configuration files at add

5 years agoadd tests for package file update
Nathan Wagner [Sat, 20 Oct 2018 02:54:49 +0000 (02:54 +0000)]
add tests for package file update

set user and group of package files to the user running the test

5 years agoadd syncfs support for update sync columns
Nathan Wagner [Sat, 20 Oct 2018 02:53:35 +0000 (02:53 +0000)]
add syncfs support for update sync columns

5 years agoadd second verbose level to zpm-add
Nathan Wagner [Sat, 20 Oct 2018 02:50:34 +0000 (02:50 +0000)]
add second verbose level to zpm-add

5 years agoadd sync columns for old metadata on update
Nathan Wagner [Sat, 20 Oct 2018 02:49:15 +0000 (02:49 +0000)]
add sync columns for old metadata on update

5 years agoadd support for notes
Nathan Wagner [Fri, 19 Oct 2018 08:15:46 +0000 (08:15 +0000)]
add support for notes

coalesce devminor and devmajor into device

5 years agoadd zpm-setscript to scripts
Nathan Wagner [Wed, 17 Oct 2018 11:11:50 +0000 (11:11 +0000)]
add zpm-setscript to scripts

5 years agoremove foreign key pragma
Nathan Wagner [Wed, 17 Oct 2018 11:04:42 +0000 (11:04 +0000)]
remove foreign key pragma

The zpm shell for sqlite enables foreign keys by default, so
it isn't necessary to do it manually.

5 years agofix wrong file type letter for symlinks
Nathan Wagner [Wed, 17 Oct 2018 11:02:51 +0000 (11:02 +0000)]
fix wrong file type letter for symlinks

5 years agoadd programs to scripts and package
Nathan Wagner [Wed, 17 Oct 2018 10:29:40 +0000 (10:29 +0000)]
add programs to scripts and package

5 years agoimprove check existing logic
Nathan Wagner [Wed, 17 Oct 2018 10:16:52 +0000 (10:16 +0000)]
improve check existing logic

5 years agoimprove syncfs dry-run output
Nathan Wagner [Wed, 17 Oct 2018 10:08:32 +0000 (10:08 +0000)]
improve syncfs dry-run output

5 years agocreate rootdir on install
Nathan Wagner [Wed, 17 Oct 2018 10:02:11 +0000 (10:02 +0000)]
create rootdir on install

5 years agodon't run ldconfig if etc doesn't exist
Nathan Wagner [Wed, 17 Oct 2018 07:19:34 +0000 (07:19 +0000)]
don't run ldconfig if etc doesn't exist

5 years agoadd rmpackage
Nathan Wagner [Tue, 16 Oct 2018 10:32:57 +0000 (10:32 +0000)]
add rmpackage

added delete trigger for packages_pkgid to make removing packages
easier.  The install program will remove any existing package from the
recording database before doing a merge.  The test for an already
existing package is earlier, so this should be safe.

5 years agoadd check constraints to db schema
Nathan Wagner [Mon, 15 Oct 2018 07:29:19 +0000 (07:29 +0000)]
add check constraints to db schema

5 years agomake check for bailout case insensitive
Nathan Wagner [Mon, 15 Oct 2018 07:27:39 +0000 (07:27 +0000)]
make check for bailout case insensitive

fix output of skipped tests in tap.sh to prepend a '#' to the skip
directive text

5 years agoadd option to zpm-add to complete package
Nathan Wagner [Sat, 13 Oct 2018 02:29:09 +0000 (02:29 +0000)]
add option to zpm-add to complete package

5 years agochange add test script to use tmp directory
Nathan Wagner [Sat, 13 Oct 2018 02:04:34 +0000 (02:04 +0000)]
change add test script to use tmp directory

5 years agoadd packagehash options
Nathan Wagner [Fri, 12 Oct 2018 23:36:11 +0000 (23:36 +0000)]
add packagehash options

add -c option to check package hash
add -q option to to suppress output

5 years agoadd function to return one string column
Nathan Wagner [Fri, 12 Oct 2018 23:35:54 +0000 (23:35 +0000)]
add function to return one string column

5 years agoadd elftype as zpm-elftype
Nathan Wagner [Fri, 12 Oct 2018 22:28:38 +0000 (22:28 +0000)]
add elftype as zpm-elftype

5 years agoadd c tap files
Nathan Wagner [Fri, 12 Oct 2018 11:12:48 +0000 (11:12 +0000)]
add c tap files

5 years agoadd zpm-verify
Nathan Wagner [Fri, 12 Oct 2018 11:08:33 +0000 (11:08 +0000)]
add zpm-verify

5 years agoadd where filter argument to foreach-path
Nathan Wagner [Fri, 12 Oct 2018 11:07:49 +0000 (11:07 +0000)]
add where filter argument to foreach-path

5 years agomake internal column function static
Nathan Wagner [Fri, 12 Oct 2018 11:07:24 +0000 (11:07 +0000)]
make internal column function static

5 years agoadd program to generate a hash of package contents
Nathan Wagner [Fri, 12 Oct 2018 07:15:52 +0000 (07:15 +0000)]
add program to generate a hash of package contents

renamed checksum to hash in the package table