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

6 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

6 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

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

6 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

6 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

6 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

6 years agoadd verbose option to add and install
Nathan Wagner [Mon, 24 Sep 2018 08:11:45 +0000 (08:11 +0000)]
add verbose option to add and install

6 years agoadd basics test
Nathan Wagner [Sun, 23 Sep 2018 18:53:01 +0000 (18:53 +0000)]
add basics test

6 years agoadd zpm-list
Nathan Wagner [Sun, 23 Sep 2018 14:42:19 +0000 (14:42 +0000)]
add zpm-list

6 years agorewrite zpm-install
Nathan Wagner [Sun, 23 Sep 2018 08:12:39 +0000 (08:12 +0000)]
rewrite zpm-install

6 years agoalter zpm-pkg syntax
Nathan Wagner [Sun, 23 Sep 2018 08:10:59 +0000 (08:10 +0000)]
alter zpm-pkg syntax

allows setting multiple items in one transaction

6 years agoadd zpm-pkgfiles
Nathan Wagner [Sun, 23 Sep 2018 08:10:39 +0000 (08:10 +0000)]
add zpm-pkgfiles

6 years agoadd zpm-quote option to shell quoting
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

6 years agouse ZPMDB as package database if needed
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

6 years agoadd -o option to runscript
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.

6 years agoadd vercmp at zpm open or init
Nathan Wagner [Sun, 23 Sep 2018 02:15:48 +0000 (02:15 +0000)]
add vercmp at zpm open or init

6 years agoadd check for different hash in install_status
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

6 years agoremove foreign key from elf tables
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

6 years agoadd zpm-merge
Nathan Wagner [Fri, 21 Sep 2018 08:48:50 +0000 (08:48 +0000)]
add zpm-merge

6 years agoadd shell tap functions
Nathan Wagner [Fri, 21 Sep 2018 07:51:15 +0000 (07:51 +0000)]
add shell tap functions

improve shell tap diag output

6 years agoadd define for local db default path
Nathan Wagner [Fri, 21 Sep 2018 07:08:31 +0000 (07:08 +0000)]
add define for local db default path

6 years agoadd views for installing and upgrading packages
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

6 years agoadd error checks to foreach_path
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

6 years agoignore missing runscript by default
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

6 years agoremove dupstr and readopts
Nathan Wagner [Mon, 17 Sep 2018 12:18:16 +0000 (12:18 +0000)]
remove dupstr and readopts

6 years agochange test scripts to init a new zpm db
Nathan Wagner [Mon, 17 Sep 2018 11:35:16 +0000 (11:35 +0000)]
change test scripts to init a new zpm db

6 years agouse stage instead of phase in script_hash
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.

6 years agoseparate zpm library database create and open
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

6 years agouse stage instead of phase in dbquery
Nathan Wagner [Mon, 17 Sep 2018 11:29:05 +0000 (11:29 +0000)]
use stage instead of phase in dbquery

6 years agofix double free bug
Nathan Wagner [Sun, 16 Sep 2018 17:23:28 +0000 (17:23 +0000)]
fix double free bug

6 years agoinitialize struct members in zpm_open
Nathan Wagner [Sun, 16 Sep 2018 16:50:01 +0000 (16:50 +0000)]
initialize struct members in zpm_open

6 years agoadd scripts_pkgid view
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.

6 years agocleanup makefile and add library source
Nathan Wagner [Sun, 16 Sep 2018 13:17:54 +0000 (13:17 +0000)]
cleanup makefile and add library source

6 years agoadd functions to find scripts and run a query
Nathan Wagner [Sun, 16 Sep 2018 13:16:30 +0000 (13:16 +0000)]
add functions to find scripts and run a query

6 years agoimprove newpackage file and package id logic
Nathan Wagner [Sun, 16 Sep 2018 01:54:58 +0000 (01:54 +0000)]
improve newpackage file and package id logic

6 years agoderive zpm package version from git tag
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.

6 years agorework zpm-add
Nathan Wagner [Sat, 15 Sep 2018 12:25:09 +0000 (12:25 +0000)]
rework zpm-add

6 years agoadd create option to zpm-newpackage
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.

6 years agoremove create option to zpm-add
Nathan Wagner [Sat, 15 Sep 2018 11:37:33 +0000 (11:37 +0000)]
remove create option to zpm-add

6 years agocheck for disallowed characters in package ids
Nathan Wagner [Sat, 15 Sep 2018 09:48:36 +0000 (09:48 +0000)]
check for disallowed characters in package ids

6 years agorenamed addtopackage to add
Nathan Wagner [Sat, 15 Sep 2018 09:28:57 +0000 (09:28 +0000)]
renamed addtopackage to add

6 years agoadd zpm-parse program
Nathan Wagner [Sat, 15 Sep 2018 09:03:00 +0000 (09:03 +0000)]
add zpm-parse program

6 years agocast sqlite3 for char signedness
Nathan Wagner [Sat, 15 Sep 2018 08:49:19 +0000 (08:49 +0000)]
cast sqlite3 for char signedness

6 years agouse posix strdup in findpkg
Nathan Wagner [Sat, 15 Sep 2018 08:48:09 +0000 (08:48 +0000)]
use posix strdup in findpkg

6 years agoadd zpm program to quote strings for sqlite
Nathan Wagner [Sat, 15 Sep 2018 08:19:27 +0000 (08:19 +0000)]
add zpm program to quote strings for sqlite

6 years agoadd library findpkg and quote
Nathan Wagner [Sat, 15 Sep 2018 08:36:18 +0000 (08:36 +0000)]
add library findpkg and quote

6 years agoadd library function to quote
Nathan Wagner [Sat, 15 Sep 2018 08:19:12 +0000 (08:19 +0000)]
add library function to quote

6 years agoremove lzma/fastpos_tablegen.c
Nathan Wagner [Sat, 15 Sep 2018 08:11:41 +0000 (08:11 +0000)]
remove lzma/fastpos_tablegen.c

6 years agoadd zpm function to quote a string for sqlite
Nathan Wagner [Sat, 15 Sep 2018 08:03:29 +0000 (08:03 +0000)]
add zpm function to quote a string for sqlite

6 years agosanitize packages table
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.

6 years agoadd target for jsw library
Nathan Wagner [Fri, 14 Sep 2018 09:53:29 +0000 (09:53 +0000)]
add target for jsw library

6 years agocreate combined single header for jsw library
Nathan Wagner [Fri, 14 Sep 2018 08:19:31 +0000 (08:19 +0000)]
create combined single header for jsw library

6 years agofix table resize bug in jsw_hlib
Nathan Wagner [Mon, 17 Sep 2018 12:05:35 +0000 (12:05 +0000)]
fix table resize bug in jsw_hlib

6 years agoremove c++isms from jsw code
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

6 years agoadd jsw data structure code
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

6 years agofix pkginfo and list files in package
Nathan Wagner [Fri, 14 Sep 2018 04:45:47 +0000 (04:45 +0000)]
fix pkginfo and list files in package

6 years agoadd structs for packages and other objects
Nathan Wagner [Fri, 14 Sep 2018 04:43:31 +0000 (04:43 +0000)]
add structs for packages and other objects

6 years agocorrect default make target
Nathan Wagner [Fri, 14 Sep 2018 04:39:46 +0000 (04:39 +0000)]
correct default make target

6 years agoadd make target for foreach-path
Nathan Wagner [Tue, 11 Sep 2018 20:43:51 +0000 (20:43 +0000)]
add make target for foreach-path

6 years agoadd program to run a command for each package file
Nathan Wagner [Tue, 11 Sep 2018 10:57:01 +0000 (10:57 +0000)]
add program to run a command for each package file

6 years agoadd foreach_path to zpm library
Nathan Wagner [Wed, 12 Sep 2018 11:09:20 +0000 (11:09 +0000)]
add foreach_path to zpm library

6 years agouse lzma from xz 5.2.4
Nathan Wagner [Sun, 9 Sep 2018 12:59:21 +0000 (12:59 +0000)]
use lzma from xz 5.2.4

6 years agoadd make target to update lzma
Nathan Wagner [Sun, 9 Sep 2018 12:58:41 +0000 (12:58 +0000)]
add make target to update lzma

6 years agofix exit status for zpm-hash
Nathan Wagner [Thu, 23 Aug 2018 11:16:32 +0000 (11:16 +0000)]
fix exit status for zpm-hash

6 years agoadd conflict checking for installs
Nathan Wagner [Tue, 21 Aug 2018 19:17:28 +0000 (19:17 +0000)]
add conflict checking for installs

6 years agoadd views useful for installs and uninstalls
Nathan Wagner [Tue, 21 Aug 2018 17:33:16 +0000 (17:33 +0000)]
add views useful for installs and uninstalls

6 years agoquote shell variables
Nathan Wagner [Tue, 21 Aug 2018 15:05:19 +0000 (15:05 +0000)]
quote shell variables

6 years agohave ctap prove read from stdin
Nathan Wagner [Tue, 21 Aug 2018 11:20:40 +0000 (11:20 +0000)]
have ctap prove read from stdin

6 years agoget install upgrades working
Nathan Wagner [Tue, 21 Aug 2018 11:19:44 +0000 (11:19 +0000)]
get install upgrades working

6 years agochange release version to 0.1.3
Nathan Wagner [Tue, 21 Aug 2018 11:19:02 +0000 (11:19 +0000)]
change release version to 0.1.3

6 years agoadd check constraints to package release
Nathan Wagner [Tue, 21 Aug 2018 11:18:35 +0000 (11:18 +0000)]
add check constraints to package release

6 years agoget correct count of changed and removed files
Nathan Wagner [Sat, 11 Aug 2018 02:41:43 +0000 (02:41 +0000)]
get correct count of changed and removed files

6 years agouse sqlite3_open_v2
Nathan Wagner [Sat, 11 Aug 2018 02:41:13 +0000 (02:41 +0000)]
use sqlite3_open_v2

6 years agoadd zpm-contents script
Nathan Wagner [Sat, 11 Aug 2018 02:40:31 +0000 (02:40 +0000)]
add zpm-contents script

6 years agomark new package as installing
Nathan Wagner [Fri, 10 Aug 2018 07:08:48 +0000 (07:08 +0000)]
mark new package as installing

6 years agoremove elf debugging output
Nathan Wagner [Fri, 10 Aug 2018 07:08:21 +0000 (07:08 +0000)]
remove elf debugging output

6 years agoremove unused mode variable extract mode hardcoded
Nathan Wagner [Fri, 10 Aug 2018 05:36:47 +0000 (05:36 +0000)]
remove unused mode variable extract mode hardcoded

6 years agoadd comments on future functionality for zpm-extract
Nathan Wagner [Fri, 10 Aug 2018 05:35:54 +0000 (05:35 +0000)]
add comments on future functionality for zpm-extract

6 years agozpm-install work on upgrades
Nathan Wagner [Fri, 10 Aug 2018 05:31:51 +0000 (05:31 +0000)]
zpm-install work on upgrades

6 years agorewrite zpm-pkg for package metadata
Nathan Wagner [Fri, 10 Aug 2018 05:31:29 +0000 (05:31 +0000)]
rewrite zpm-pkg for package metadata

6 years agoadd status column to package
Nathan Wagner [Fri, 10 Aug 2018 05:30:42 +0000 (05:30 +0000)]
add status column to package

6 years agoadd zpm-log increase version
Nathan Wagner [Fri, 10 Aug 2018 05:30:28 +0000 (05:30 +0000)]
add zpm-log increase version

6 years agoadd zpm-log
Nathan Wagner [Fri, 10 Aug 2018 05:29:36 +0000 (05:29 +0000)]
add zpm-log

6 years agoadd default for log timestamps in database
Nathan Wagner [Sat, 4 Aug 2018 01:02:15 +0000 (01:02 +0000)]
add default for log timestamps in database

6 years agoteach findpkg to parse full or partial package triples
Nathan Wagner [Sat, 4 Aug 2018 01:02:08 +0000 (01:02 +0000)]
teach findpkg to parse full or partial package triples

6 years agoadd zpm-test to package
Nathan Wagner [Sat, 4 Aug 2018 00:12:09 +0000 (00:12 +0000)]
add zpm-test to package

6 years agoprepend paths given by option
Nathan Wagner [Fri, 3 Aug 2018 23:41:45 +0000 (23:41 +0000)]
prepend paths given by option

6 years agoadd tmpinstall target
Nathan Wagner [Tue, 31 Jul 2018 20:46:56 +0000 (20:46 +0000)]
add tmpinstall target

6 years agoadd / to directory
Nathan Wagner [Tue, 31 Jul 2018 20:46:34 +0000 (20:46 +0000)]
add / to directory

6 years agosimplify commands
Nathan Wagner [Tue, 31 Jul 2018 18:58:14 +0000 (18:58 +0000)]
simplify commands

6 years agoadd directories to ipkgfile
Nathan Wagner [Tue, 31 Jul 2018 18:57:43 +0000 (18:57 +0000)]
add directories to ipkgfile

6 years agoadd user and group to addtopackage
Nathan Wagner [Tue, 31 Jul 2018 18:56:42 +0000 (18:56 +0000)]
add user and group to addtopackage

6 years agouse zpm soname
Nathan Wagner [Tue, 31 Jul 2018 18:56:07 +0000 (18:56 +0000)]
use zpm soname

6 years agoadd packagestatus table
Nathan Wagner [Tue, 31 Jul 2018 18:54:46 +0000 (18:54 +0000)]
add packagestatus table

6 years agomove zpm programs to /sbin
Nathan Wagner [Tue, 31 Jul 2018 18:54:24 +0000 (18:54 +0000)]
move zpm programs to /sbin

6 years agoadd user and group to zpm-install
Nathan Wagner [Tue, 31 Jul 2018 18:53:48 +0000 (18:53 +0000)]
add user and group to zpm-install

6 years agofixup
Nathan Wagner [Thu, 5 Jul 2018 07:55:54 +0000 (07:55 +0000)]
fixup

6 years agoadd C version of prove
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

6 years agobump sqlite to version 3.24.0
Nathan Wagner [Thu, 5 Jul 2018 07:33:30 +0000 (07:33 +0000)]
bump sqlite to version 3.24.0