]>
pd.if.org Git - zpackage/log
Nathan Wagner [Mon, 24 Sep 2018 21:06:00 +0000 (21:06 +0000)]
check for file extract failure in runscript
Nathan Wagner [Mon, 24 Sep 2018 13:05:23 +0000 (13:05 +0000)]
bump sqlite to 3.25.1
Nathan Wagner [Mon, 24 Sep 2018 12:49:59 +0000 (12:49 +0000)]
add tests for more package installs
Nathan Wagner [Mon, 24 Sep 2018 12:04:12 +0000 (12:04 +0000)]
support symlinks in zpm-add
Nathan Wagner [Mon, 24 Sep 2018 12:02:52 +0000 (12:02 +0000)]
add symlink support to pkgfiles
add checks for zero length paths
Nathan Wagner [Mon, 24 Sep 2018 11:27:47 +0000 (11:27 +0000)]
fix eval variable name in zpm-list
Nathan Wagner [Mon, 24 Sep 2018 08:12:56 +0000 (08:12 +0000)]
add test file for install
adjust tap.sh
Nathan Wagner [Mon, 24 Sep 2018 08:11:45 +0000 (08:11 +0000)]
add verbose option to add and install
Nathan Wagner [Sun, 23 Sep 2018 18:53:01 +0000 (18:53 +0000)]
add basics test
Nathan Wagner [Sun, 23 Sep 2018 14:42:19 +0000 (14:42 +0000)]
add zpm-list
Nathan Wagner [Sun, 23 Sep 2018 08:12:39 +0000 (08:12 +0000)]
rewrite zpm-install
Nathan Wagner [Sun, 23 Sep 2018 08:10:59 +0000 (08:10 +0000)]
alter zpm-pkg syntax
allows setting multiple items in one transaction
Nathan Wagner [Sun, 23 Sep 2018 08:10:39 +0000 (08:10 +0000)]
add zpm-pkgfiles
Nathan Wagner [Sun, 23 Sep 2018 08:01:32 +0000 (08:01 +0000)]
add zpm-quote option to shell quoting
Add -s to shell quote, and -q to add single quotes around the
quoted string. Default behavior is to quote for sqlite and
not add quotes.
add sql identifier quoting
Nathan Wagner [Sun, 23 Sep 2018 01:41:51 +0000 (01:41 +0000)]
use ZPMDB as package database if needed
exit non-zero if findpkg doesn't find a package
Nathan Wagner [Fri, 21 Sep 2018 22:26:26 +0000 (22:26 +0000)]
add -o option to runscript
honor ZPM_ROOT_DIR environment variable
Change directory to either / or the rootdir. Actually doing a chroot(2)
call is apparently deprecated and has been removed from posix. Doing
this will require OS specific code. Unless and until that is done,
scripts will need to be aware of that and make changes in the correct
place.
Nathan Wagner [Sun, 23 Sep 2018 02:15:48 +0000 (02:15 +0000)]
add vercmp at zpm open or init
Nathan Wagner [Fri, 21 Sep 2018 10:01:49 +0000 (10:01 +0000)]
add check for different hash in install_status
cleanup schema, add foreign key cascades
fix query to find files for removal at upgrade
Nathan Wagner [Fri, 21 Sep 2018 09:04:28 +0000 (09:04 +0000)]
remove foreign key from elf tables
The tables need to be able to be populated even if the file content
isn't available.
cleanup elf info setting
Nathan Wagner [Fri, 21 Sep 2018 08:48:50 +0000 (08:48 +0000)]
add zpm-merge
Nathan Wagner [Fri, 21 Sep 2018 07:51:15 +0000 (07:51 +0000)]
add shell tap functions
improve shell tap diag output
Nathan Wagner [Fri, 21 Sep 2018 07:08:31 +0000 (07:08 +0000)]
add define for local db default path
Nathan Wagner [Wed, 19 Sep 2018 11:32:04 +0000 (11:32 +0000)]
add views for installing and upgrading packages
add checks and not nulls to packagefiles
add test file for database schema
Nathan Wagner [Mon, 17 Sep 2018 12:05:13 +0000 (12:05 +0000)]
add error checks to foreach_path
add usage message to foreach-path
fix path for local database
Nathan Wagner [Mon, 17 Sep 2018 12:02:15 +0000 (12:02 +0000)]
ignore missing runscript by default
Added option -R to require that there be one.
add zpm-runscript to .gitignore
add tests for required runscript phase
add script to test runscript
Nathan Wagner [Mon, 17 Sep 2018 12:18:16 +0000 (12:18 +0000)]
remove dupstr and readopts
Nathan Wagner [Mon, 17 Sep 2018 11:35:16 +0000 (11:35 +0000)]
change test scripts to init a new zpm db
Nathan Wagner [Mon, 17 Sep 2018 11:34:29 +0000 (11:34 +0000)]
use stage instead of phase in script_hash
add zpm-runscript to makefile
improve error handling in script_hash.
Nathan Wagner [Mon, 17 Sep 2018 11:31:53 +0000 (11:31 +0000)]
separate zpm library database create and open
use new init function in zpm-init
exit with error if addfile db open fails
Nathan Wagner [Mon, 17 Sep 2018 11:29:05 +0000 (11:29 +0000)]
use stage instead of phase in dbquery
Nathan Wagner [Sun, 16 Sep 2018 17:23:28 +0000 (17:23 +0000)]
fix double free bug
Nathan Wagner [Sun, 16 Sep 2018 16:50:01 +0000 (16:50 +0000)]
initialize struct members in zpm_open
Nathan Wagner [Sun, 16 Sep 2018 13:22:00 +0000 (13:22 +0000)]
add scripts_pkgid view
Added more constraint checks on package id columns.
Added primary and foreign keys to scripts table.
Nathan Wagner [Sun, 16 Sep 2018 13:17:54 +0000 (13:17 +0000)]
cleanup makefile and add library source
Nathan Wagner [Sun, 16 Sep 2018 13:16:30 +0000 (13:16 +0000)]
add functions to find scripts and run a query
Nathan Wagner [Sun, 16 Sep 2018 01:54:58 +0000 (01:54 +0000)]
improve newpackage file and package id logic
Nathan Wagner [Sun, 16 Sep 2018 01:54:03 +0000 (01:54 +0000)]
derive zpm package version from git tag
Fix package target to use updated newpackage syntax.
Nathan Wagner [Sat, 15 Sep 2018 12:25:09 +0000 (12:25 +0000)]
rework zpm-add
Nathan Wagner [Sat, 15 Sep 2018 11:42:41 +0000 (11:42 +0000)]
add create option to zpm-newpackage
Use environment variable ZPM_PACKAGE_FILE for package file name or
construct from package id.
Nathan Wagner [Sat, 15 Sep 2018 11:37:33 +0000 (11:37 +0000)]
remove create option to zpm-add
Nathan Wagner [Sat, 15 Sep 2018 09:48:36 +0000 (09:48 +0000)]
check for disallowed characters in package ids
Nathan Wagner [Sat, 15 Sep 2018 09:28:57 +0000 (09:28 +0000)]
renamed addtopackage to add
Nathan Wagner [Sat, 15 Sep 2018 09:03:00 +0000 (09:03 +0000)]
add zpm-parse program
Nathan Wagner [Sat, 15 Sep 2018 08:49:19 +0000 (08:49 +0000)]
cast sqlite3 for char signedness
Nathan Wagner [Sat, 15 Sep 2018 08:48:09 +0000 (08:48 +0000)]
use posix strdup in findpkg
Nathan Wagner [Sat, 15 Sep 2018 08:19:27 +0000 (08:19 +0000)]
add zpm program to quote strings for sqlite
Nathan Wagner [Sat, 15 Sep 2018 08:36:18 +0000 (08:36 +0000)]
add library findpkg and quote
Nathan Wagner [Sat, 15 Sep 2018 08:19:12 +0000 (08:19 +0000)]
add library function to quote
Nathan Wagner [Sat, 15 Sep 2018 08:11:41 +0000 (08:11 +0000)]
remove lzma/fastpos_tablegen.c
Nathan Wagner [Sat, 15 Sep 2018 08:03:29 +0000 (08:03 +0000)]
add zpm function to quote a string for sqlite
Nathan Wagner [Sat, 15 Sep 2018 02:05:55 +0000 (02:05 +0000)]
sanitize packages table
Added check constraints, and removed pkgid column. Added a
view packages_pkgid with the pkgid column constructed from
the package, version, and release columns.
Nathan Wagner [Fri, 14 Sep 2018 09:53:29 +0000 (09:53 +0000)]
add target for jsw library
Nathan Wagner [Fri, 14 Sep 2018 08:19:31 +0000 (08:19 +0000)]
create combined single header for jsw library
Nathan Wagner [Mon, 17 Sep 2018 12:05:35 +0000 (12:05 +0000)]
fix table resize bug in jsw_hlib
Nathan Wagner [Fri, 14 Sep 2018 08:12:28 +0000 (08:12 +0000)]
remove c++isms from jsw code
removed malloc casts and header externs
Nathan Wagner [Fri, 14 Sep 2018 08:06:51 +0000 (08:06 +0000)]
add jsw data structure code
http://www.eternallyconfuzzled.com/jsw_home.aspx
Nathan Wagner [Fri, 14 Sep 2018 04:45:47 +0000 (04:45 +0000)]
fix pkginfo and list files in package
Nathan Wagner [Fri, 14 Sep 2018 04:43:31 +0000 (04:43 +0000)]
add structs for packages and other objects
Nathan Wagner [Fri, 14 Sep 2018 04:39:46 +0000 (04:39 +0000)]
correct default make target
Nathan Wagner [Tue, 11 Sep 2018 20:43:51 +0000 (20:43 +0000)]
add make target for foreach-path
Nathan Wagner [Tue, 11 Sep 2018 10:57:01 +0000 (10:57 +0000)]
add program to run a command for each package file
Nathan Wagner [Wed, 12 Sep 2018 11:09:20 +0000 (11:09 +0000)]
add foreach_path to zpm library
Nathan Wagner [Sun, 9 Sep 2018 12:59:21 +0000 (12:59 +0000)]
use lzma from xz 5.2.4
Nathan Wagner [Sun, 9 Sep 2018 12:58:41 +0000 (12:58 +0000)]
add make target to update lzma
Nathan Wagner [Thu, 23 Aug 2018 11:16:32 +0000 (11:16 +0000)]
fix exit status for zpm-hash
Nathan Wagner [Tue, 21 Aug 2018 19:17:28 +0000 (19:17 +0000)]
add conflict checking for installs
Nathan Wagner [Tue, 21 Aug 2018 17:33:16 +0000 (17:33 +0000)]
add views useful for installs and uninstalls
Nathan Wagner [Tue, 21 Aug 2018 15:05:19 +0000 (15:05 +0000)]
quote shell variables
Nathan Wagner [Tue, 21 Aug 2018 11:20:40 +0000 (11:20 +0000)]
have ctap prove read from stdin
Nathan Wagner [Tue, 21 Aug 2018 11:19:44 +0000 (11:19 +0000)]
get install upgrades working
Nathan Wagner [Tue, 21 Aug 2018 11:19:02 +0000 (11:19 +0000)]
change release version to 0.1.3
Nathan Wagner [Tue, 21 Aug 2018 11:18:35 +0000 (11:18 +0000)]
add check constraints to package release
Nathan Wagner [Sat, 11 Aug 2018 02:41:43 +0000 (02:41 +0000)]
get correct count of changed and removed files
Nathan Wagner [Sat, 11 Aug 2018 02:41:13 +0000 (02:41 +0000)]
use sqlite3_open_v2
Nathan Wagner [Sat, 11 Aug 2018 02:40:31 +0000 (02:40 +0000)]
add zpm-contents script
Nathan Wagner [Fri, 10 Aug 2018 07:08:48 +0000 (07:08 +0000)]
mark new package as installing
Nathan Wagner [Fri, 10 Aug 2018 07:08:21 +0000 (07:08 +0000)]
remove elf debugging output
Nathan Wagner [Fri, 10 Aug 2018 05:36:47 +0000 (05:36 +0000)]
remove unused mode variable extract mode hardcoded
Nathan Wagner [Fri, 10 Aug 2018 05:35:54 +0000 (05:35 +0000)]
add comments on future functionality for zpm-extract
Nathan Wagner [Fri, 10 Aug 2018 05:31:51 +0000 (05:31 +0000)]
zpm-install work on upgrades
Nathan Wagner [Fri, 10 Aug 2018 05:31:29 +0000 (05:31 +0000)]
rewrite zpm-pkg for package metadata
Nathan Wagner [Fri, 10 Aug 2018 05:30:42 +0000 (05:30 +0000)]
add status column to package
Nathan Wagner [Fri, 10 Aug 2018 05:30:28 +0000 (05:30 +0000)]
add zpm-log increase version
Nathan Wagner [Fri, 10 Aug 2018 05:29:36 +0000 (05:29 +0000)]
add zpm-log
Nathan Wagner [Sat, 4 Aug 2018 01:02:15 +0000 (01:02 +0000)]
add default for log timestamps in database
Nathan Wagner [Sat, 4 Aug 2018 01:02:08 +0000 (01:02 +0000)]
teach findpkg to parse full or partial package triples
Nathan Wagner [Sat, 4 Aug 2018 00:12:09 +0000 (00:12 +0000)]
add zpm-test to package
Nathan Wagner [Fri, 3 Aug 2018 23:41:45 +0000 (23:41 +0000)]
prepend paths given by option
Nathan Wagner [Tue, 31 Jul 2018 20:46:56 +0000 (20:46 +0000)]
add tmpinstall target
Nathan Wagner [Tue, 31 Jul 2018 20:46:34 +0000 (20:46 +0000)]
add / to directory
Nathan Wagner [Tue, 31 Jul 2018 18:58:14 +0000 (18:58 +0000)]
simplify commands
Nathan Wagner [Tue, 31 Jul 2018 18:57:43 +0000 (18:57 +0000)]
add directories to ipkgfile
Nathan Wagner [Tue, 31 Jul 2018 18:56:42 +0000 (18:56 +0000)]
add user and group to addtopackage
Nathan Wagner [Tue, 31 Jul 2018 18:56:07 +0000 (18:56 +0000)]
use zpm soname
Nathan Wagner [Tue, 31 Jul 2018 18:54:46 +0000 (18:54 +0000)]
add packagestatus table
Nathan Wagner [Tue, 31 Jul 2018 18:54:24 +0000 (18:54 +0000)]
move zpm programs to /sbin
Nathan Wagner [Tue, 31 Jul 2018 18:53:48 +0000 (18:53 +0000)]
add user and group to zpm-install
Nathan Wagner [Thu, 5 Jul 2018 07:55:54 +0000 (07:55 +0000)]
fixup
Nathan Wagner [Thu, 5 Jul 2018 07:54:39 +0000 (07:54 +0000)]
add C version of prove
removes dependency on Perl to run tests
Nathan Wagner [Thu, 5 Jul 2018 07:33:30 +0000 (07:33 +0000)]
bump sqlite to version 3.24.0