]> pd.if.org Git - zpackage/log
zpackage
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

5 years agorewrite syncfs to handle updates and overwrites
Nathan Wagner [Thu, 11 Oct 2018 21:23:02 +0000 (21:23 +0000)]
rewrite syncfs to handle updates and overwrites

5 years agoadd pass through absorb and overwrite options v0.2.0
Nathan Wagner [Mon, 8 Oct 2018 17:41:16 +0000 (17:41 +0000)]
add pass through absorb and overwrite options

5 years agoimprove error reporting in syncfs
Nathan Wagner [Mon, 8 Oct 2018 01:20:00 +0000 (01:20 +0000)]
improve error reporting in syncfs

5 years agochange syncfs to use new view
Nathan Wagner [Sat, 6 Oct 2018 18:14:20 +0000 (18:14 +0000)]
change syncfs to use new view

5 years agoadd option to show install scripts
Nathan Wagner [Sat, 6 Oct 2018 17:58:09 +0000 (17:58 +0000)]
add option to show install scripts

5 years agomerge elf information
Nathan Wagner [Sat, 6 Oct 2018 17:57:40 +0000 (17:57 +0000)]
merge elf information

5 years agoadd new view for filesystem sync
Nathan Wagner [Sat, 6 Oct 2018 17:56:17 +0000 (17:56 +0000)]
add new view for filesystem sync

5 years agofix potential use after free
Nathan Wagner [Sat, 6 Oct 2018 17:56:04 +0000 (17:56 +0000)]
fix potential use after free

5 years agoremove unused elf tables, add elf summary view
Nathan Wagner [Mon, 1 Oct 2018 16:27:25 +0000 (16:27 +0000)]
remove unused elf tables, add elf summary view

5 years agoremove foreign key on files from elf tables
Nathan Wagner [Mon, 1 Oct 2018 15:17:55 +0000 (15:17 +0000)]
remove foreign key on files from elf tables

5 years agorollback on initialize failure
Nathan Wagner [Sun, 30 Sep 2018 23:09:18 +0000 (23:09 +0000)]
rollback on initialize failure

5 years agopass script phase as arg 0
Nathan Wagner [Sun, 30 Sep 2018 17:24:10 +0000 (17:24 +0000)]
pass script phase as arg 0

5 years agolook for ldconfig in rootdir
Nathan Wagner [Sun, 30 Sep 2018 17:23:48 +0000 (17:23 +0000)]
look for ldconfig in rootdir

5 years agocheck for db init failure in install
Nathan Wagner [Sun, 30 Sep 2018 15:28:56 +0000 (15:28 +0000)]
check for db init failure in install

5 years agoadd verbose option to contents
Nathan Wagner [Sun, 30 Sep 2018 15:28:08 +0000 (15:28 +0000)]
add verbose option to contents

5 years agocleanup error handling in zpm_init
Nathan Wagner [Sun, 30 Sep 2018 15:27:37 +0000 (15:27 +0000)]
cleanup error handling in zpm_init

5 years agoadd pathmod to scripts for install v0.1.7
Nathan Wagner [Sun, 30 Sep 2018 14:52:17 +0000 (14:52 +0000)]
add pathmod to scripts for install

5 years agoadd verbose option to pathmod
Nathan Wagner [Sun, 30 Sep 2018 14:48:53 +0000 (14:48 +0000)]
add verbose option to pathmod

The -v option will add in the owner, type, and permissions columns to
the output.

Changed the output delimiter to a space.

5 years agofixup db packagefiles trigger
Nathan Wagner [Sun, 30 Sep 2018 14:44:10 +0000 (14:44 +0000)]
fixup db packagefiles trigger

5 years agoadd packagefiles_pkgid update trigger
Nathan Wagner [Sun, 30 Sep 2018 13:02:22 +0000 (13:02 +0000)]
add packagefiles_pkgid update trigger

Added check constraints on packagefiles columns.

5 years agoinstall will init the localdb if it does not exist
Nathan Wagner [Sun, 30 Sep 2018 12:39:13 +0000 (12:39 +0000)]
install will init the localdb if it does not exist

5 years agoimprove default local database
Nathan Wagner [Sun, 30 Sep 2018 12:36:13 +0000 (12:36 +0000)]
improve default local database

Where a local database is not specified on the command line, and a root
directory is, zpm-install will now use var/lib/zpm/local.db inside the
root directory for the local database.

install is now smarter about finding a package to install within
the package file.

5 years agoadd option to zpm-add to not absorb file content
Nathan Wagner [Sun, 30 Sep 2018 12:15:05 +0000 (12:15 +0000)]
add option to zpm-add to not absorb file content

With -N file contents of regular files will not be added to the
database, only the metadata will be added to packagefiles.  This allows
a file to be marked as "owned" by a package, without actually importing
the contents.

5 years agorun syncfs with -v if install is verbose
Nathan Wagner [Sun, 30 Sep 2018 12:09:14 +0000 (12:09 +0000)]
run syncfs with -v if install is verbose

5 years agofix installing of symlinks
Nathan Wagner [Sun, 30 Sep 2018 12:08:51 +0000 (12:08 +0000)]
fix installing of symlinks

5 years agorun ldconfig after install
Nathan Wagner [Sun, 30 Sep 2018 11:32:50 +0000 (11:32 +0000)]
run ldconfig after install

5 years agocleanup and fix bugs in addfile
Nathan Wagner [Sun, 30 Sep 2018 02:47:58 +0000 (02:47 +0000)]
cleanup and fix bugs in addfile

5 years agoremove -ldl from makefile
Nathan Wagner [Sun, 30 Sep 2018 02:47:54 +0000 (02:47 +0000)]
remove -ldl from makefile

5 years agoremove release special handling from vercmp
Nathan Wagner [Sat, 29 Sep 2018 22:47:26 +0000 (22:47 +0000)]
remove release special handling from vercmp

5 years agofix pointer related bugs
Nathan Wagner [Sat, 29 Sep 2018 22:35:06 +0000 (22:35 +0000)]
fix pointer related bugs

5 years agofix uninitialized variable
Nathan Wagner [Sat, 29 Sep 2018 21:47:17 +0000 (21:47 +0000)]
fix uninitialized variable

5 years agoseparate parse from findpkg
Nathan Wagner [Sat, 29 Sep 2018 21:47:06 +0000 (21:47 +0000)]
separate parse from findpkg

5 years agoenable static linked builds
Nathan Wagner [Sat, 29 Sep 2018 20:03:22 +0000 (20:03 +0000)]
enable static linked builds

The sqlite loadable extension interface uses libdl, so it is now
omitted from the sqlite3 library and zpm-shell.  The -ldl linker
option isn't needed, and -static is.

There is also a commented out CC to use musl as the C library.  Glibc
doesn't actually support static linking, as it uses libdl for
various name service switch libraries.  The package system doesn't
need to do that, and static linking the binaries reduces dependencies
and eliminates library issues which could make the system unusable.

5 years agoadd metadata string to packagefiles view
Nathan Wagner [Fri, 28 Sep 2018 22:51:16 +0000 (22:51 +0000)]
add metadata string to packagefiles view

5 years agoadd zpm-uninstall to makefile
Nathan Wagner [Fri, 28 Sep 2018 18:09:01 +0000 (18:09 +0000)]
add zpm-uninstall to makefile

5 years agoadd install root for tests
Nathan Wagner [Fri, 28 Sep 2018 18:05:26 +0000 (18:05 +0000)]
add install root for tests

5 years agoadd error checks for unlink
Nathan Wagner [Fri, 28 Sep 2018 18:05:01 +0000 (18:05 +0000)]
add error checks for unlink

5 years agochange findpkg to use -f option
Nathan Wagner [Fri, 28 Sep 2018 17:54:24 +0000 (17:54 +0000)]
change findpkg to use -f option

5 years agorename pkgfiles to syncfs
Nathan Wagner [Tue, 25 Sep 2018 10:06:01 +0000 (10:06 +0000)]
rename pkgfiles to syncfs

5 years agoremove pkgid argument from pkgfiles
Nathan Wagner [Tue, 25 Sep 2018 10:02:32 +0000 (10:02 +0000)]
remove pkgid argument from pkgfiles

zpm-pkgfiles only reported the pkgid, but it didn't restrict
what was done.  The actions are determined by the package statuses
and the install_status view.

5 years agoadd pkgfiles to makefile
Nathan Wagner [Tue, 25 Sep 2018 10:01:14 +0000 (10:01 +0000)]
add pkgfiles to makefile

5 years agoremove tmpinstall and tmpupgrade make targets
Nathan Wagner [Tue, 25 Sep 2018 09:54:05 +0000 (09:54 +0000)]
remove tmpinstall and tmpupgrade make targets

5 years agocleanup makefile and other files
Nathan Wagner [Mon, 24 Sep 2018 23:10:57 +0000 (23:10 +0000)]
cleanup makefile and other files

5 years agoadd test for pre-install script failure
Nathan Wagner [Mon, 24 Sep 2018 21:06:20 +0000 (21:06 +0000)]
add test for pre-install script failure

5 years agocheck for file extract failure in runscript
Nathan Wagner [Mon, 24 Sep 2018 21:06:00 +0000 (21:06 +0000)]
check for file extract failure in runscript

5 years agobump sqlite to 3.25.1
Nathan Wagner [Mon, 24 Sep 2018 13:05:23 +0000 (13:05 +0000)]
bump sqlite to 3.25.1

5 years agoadd tests for more package installs
Nathan Wagner [Mon, 24 Sep 2018 12:49:59 +0000 (12:49 +0000)]
add tests for more package installs

5 years agosupport symlinks in zpm-add
Nathan Wagner [Mon, 24 Sep 2018 12:04:12 +0000 (12:04 +0000)]
support symlinks in zpm-add

5 years agoadd symlink support to pkgfiles
Nathan Wagner [Mon, 24 Sep 2018 12:02:52 +0000 (12:02 +0000)]
add symlink support to pkgfiles

add checks for zero length paths

5 years agofix eval variable name in zpm-list
Nathan Wagner [Mon, 24 Sep 2018 11:27:47 +0000 (11:27 +0000)]
fix eval variable name in zpm-list

5 years agoadd test file for install v0.1.6
Nathan Wagner [Mon, 24 Sep 2018 08:12:56 +0000 (08:12 +0000)]
add test file for install

adjust tap.sh