Release 1.99.2 (Tue Jan 22 16:26:10 CET 2013) * paa: corrected the deletion of obsolete records in the 'controls' table (without which dpkg-scanpackages things the overrides file is corrupt) * paa: to rpmmirror.sh, added file:// support and corrected path trimming for http:// URLs * paa: force LC_ALL=C for all sorts in tests * paa: added svn properties and placeholders * paa: added 'TODO' file (which was missing last time) * paa: 'insert' and 'control' directives updated to fix bugs * paa: test updates * paa: devariant freeze output, which now reports freeze id and updated reference file * paa: renamed paa-tables.sql to paa.sql * paa: don't update mirrors in a transaction 'cos database locks out all other activities * paa: allow 'NEWEST-FREEZE' in directs * paa: control now reads repos, releases, ports and sections from a variable and uses 'read -u' to do it, this allows the gpg inside the loop to see the tty, which is a prerequisite for it working correctly * paa: dpkg-deb called only once to analyse debs; previously called three times and slow about it) * paa: gpg told to force local user name used to sign, and no longer must insist on agent running * paa: added the actual repo config files I'm using and started developing new wrapper script to create my repos * paa: added --delete to the rsync call in rpmmirror * paa: simplified usage message * paa: test load config files using bash, not sh * paa: further checks for redundant config directives * paa: tidied recent additions to the sql file * paa: removed 'paa host THIS-HOST' from tests as it presents too many variant factors; this also means that 'paa access ALL-REPOS' needed to be removed * paa: updated reference file for test after recent code updates * paa: corrected SQL selects for accesses and directs to take repos according to what is compatible with host, not with the distro repo that the host has installed. * paa: called launch_shell() in test pending fixing an outstanding issue * paa: comments and cosmetic changes in paa-tables.sql in order to describe an outstanding issue, which I will fix after next commit * paa: narrowed usage message to make it pass ade tests * paa: corrections to tests to make it work under lenny * paa: added options -v, -d, -n to rpmmirror and added support for http:// protocol * paa: more changes to get tests passing on lenny (making use of new functions in ade) * paa: to comply with ADE tests: minor text changes to standard options' output, added support for --version, --list-paths to rpmmirror * paa: in test: improved filtering, don't hardcode freeze ids, more stringent error detection in pipelines, updated ref file * paa: renamed some database attributes (and therefore variables in code too) * paa: derive freeze id from mirrored ts as YYYYMMDDHHMMSS. * paa: fixed some errors revealed by testing * paa: doc/Makefile now cleans * paa: updated diagram * paa: updated tests based on recent changes to code * paa: in unrepo() empty controls table * paa: updated access_*() functions * paa: deleted unused functions and renamed others * paa: updated rpmmirrors to refer to ports as ports, not archs * paa: 'real' variables used during config compilition now have 'REAL_' prefix to distinguish them * paa: script_ports renamed to script_archs (repos have ports but packages have archs) * paa: added example rpm config file * paa: insert coded and split into insert and control * paa: made layout release-specific (stored in releases table) * paa: better support for rpms in the template config file generator * paa: indentation corrections in SQL * paa: minor diagram updates and latest XCF version * paa: massive tidy up of variable names and declaration groupings * paa: ensure identical timestamp for quick operations * paa: renamed apache directive to share (apache_cidr becomes cidr) * paa: unrepo now reports name of directory to be manually deleted * paa: *access* now working * paa: UML diagram updated with accesses' primary key changes * paa: template comments updated * paa: deleted paa-data.sql as this is no longer sourced (there being so little static data that it is inserted from within paa-tables.sql) * paa: created triggers to block host and repo deletion when there is an access referencing them * paa: renamed repoconfigs table to extended (trying to use single plural words for table names) * paa: 'host' directive now demands pkgtype argument * paa: rewrote 'directs' and 'apaches' tables * paa: directives 'directs' and 'apaches' updated according to recent db changes * paa: UML diagram updated * paa: example config file for virtualbox provided * paa: aligned constraint names in paa-tables.sql * paa: added views for determining which repos a host may use * paa: split a svn-token-like error message over two lines to avoid 'svn co' from doing substitutions * paa: moved functions to more logical files * paa: recoded config compiler to use directives rather than variable assignments (this simplfies config syntax, but complicates code) * paa: ongoing update of paa-tables.sql * paa: rewrite following UML modelling: - dia diagram updated, principally to abstract minor tables - creation of repo tables updated * paa: major improvements in first test * paa: many small fixes to paa based on first test ('paa unrepo' cleans auxiliary repo table, debs and rpms tables, 'paa apache' creates state directory if non-existent, corrections to 'apache reload' code, strip trailing slash from $ROOTDIR everywhere makes it prettier if $ROOTDIR is /, * paa: added entity relationship diagram paa.dia * paa: further updates to the PAA100_listrepos test * paa: abstracted write tests to new functions * paa: added option '--rootdir=' to facilitate testing (where writing to /etc/apt or /etc/yum should not be done) * paa: added definitions of more releases and ports * paa: added small RPMs and DEBs to insert as part of the regression tests * paa: updated test PAA100_listrepos, which is slowly beginning to exercise all standard steps * paa: don't force use of gpg-agent (the tests don't use it) * paa: info messages mentioning names of inserted DEBs and RPMs strings full path * paa: more stringent checking that insertion stages (mkdir, cp) were successful * paa: corrected column name in a trigger called when inserting a deb * paa: added first test, removed requirement to set LAYOUT for local rpm repos (since layout is always /) * paa: init() code now small so moved to paa() * paa: don't blank date at start of repoedit() 'cos no edit results in date being reset to 1970 * paa: added editdb() function to edit the SQL database * paa: removed duplicated table definition and corrected name of repos table (these were on the fly changes not applied correctly in the SQL code) * paa/rpmmirror: create leading directories * paa: added support for rpms * paa: before init delete left over stuff from previous run * paa: extended compats regexp to support {*} * paa: more checks when inserting debs * paa: corrected table name in access function * paa: gave temp files edited during editrepo sessions a .sh suffix to help vim decide on syntax highlighting * paa: corrected rsync --chmod option * paa: tidied template config files * paa: further work on editrepo function, removed superfluous perm fix from freeze (as is now handled by rsync), much alignment of unmunging, first working version of insert function for debs, much work on standardising variable, table, column names is still needed! * paa: moved config file to a table cell * paa: added new 'editrepo' mode * paa: moved config compilation from start-time to post-edit-time * paa: moved three functions to ade * paa: use ade_pmf_coproc instead of bash's coproc (the latter doesn't work on bash 3) * paa: corresponding updates to the example autopaa scripts * paa: removed obsolete functions assign_var_from_{db,rc}_file * paa: implemented ade_pmf_coproc (process management function) and used it instead of bash's coproc command (which is not available in bash 3) - this created two functions that are candidate for being moved to ade) * paa: changed many calls to ade_msg_internal to be to ade_err_internal * paa: when creating views, specified column aliases (this is needed for compatibility with lenny's sqlite) * paa: updated the example client update script to configure access to the repos too * paa: checkpoint development (first successful run from end to end) * paa: added 'managed' column - part way through recoding to make use of it * paa: removed references to APACHE_CONF_DIR (this is now handled with $(paa-config paa_state_prefix)) * paa: beginnings of moving client/server roles to in the repos table * paa: added var directory (for test apache files, etc) * paa: added example script to create /etc/apache2/conf.d/paa * paa: removed some obsolete functions * paa: added missing Makefiles and updated usage message * paa: checkpoint development (all verbs except for insert work) * paa: checkpoint development (repo to freeze commands plus host command all work, remaining commands not tested) * paa: checkpoint development (many more tables as per advice from Daniel Brandt) * paa: checkpoint development (prior to addition of cpuarch->pkgarch mapping) * paa: checkpoint development ('paa {apache,unapache,listapaches}' now work * paa: checkpoint development ('paa direct ALL-REPOS ALL-HOSTS ' now honours CPU and release of each system) * paa: checkpoint development (directing recognises non-existent freezes) * paa: actions *{repo,mirror,freeze,direct}* all updated to use sqlite * paa: switch to using SQLite and coprocess to communicate with sqlite3 command * paa: beginnings of RPM support * paa: moved registration of application-specific to inside main() * paa: listrepos now orders list * paa: corrections to regexps integrity checking debs * paa: trap some hitherto untrapped errors (cp, gpg) * paa: added missing Makefile for include directory Release 1.0.8 (Tue Jan 17 12:06:59 CET 2012) * paa: removed obsolete doc/README.1ST and add setting of PAA_DOC_PREFIX (unrelated change) to paadevsh.sh Release 1.0.7 (Sun Dec 25 16:51:15 CET 2011) * paa: removed commented out code, fixed a couple of small bugs Release 1.0.6 (Sun Dec 25 14:28:27 CET 2011) * paa: improved listrepos output, test for lsb_release before calling it Release 1.0.5 (Sun Dec 25 13:09:34 CET 2011) * paa: correct listrepos output now some columns are not read from ~/.paa. Release 1.0.4 (Sat Dec 24 15:40:08 CET 2011) * paa: various small fixes Release 1.0.3 (Sat Dec 24 13:23:11 CET 2011) * paa: attempt to reduce what needs to be specified in the config file Release 1.0.2 (Fri Dec 23 19:59:47 CET 2011) * paa: shortened help messages in order to pass standard tests * paa: restored ability to specify repository on updatemirrors function * paa: partial ADE-ification * paa: first version of man page and many code changes to align with functionality described in man page, * paa: completed ADE-ification * paa: added svn properties Release 1.0.1 (Wed Dec 14 15:19:00 CET 2011) * paa: only write the newest version of each package into the generated Debian package index files (better would be the highest version but this is not so easy from sqlite) * paa: minor tweak to the expression used to select the newest packages Release 1 (Wed Dec 7 17:23:48 CET 2011) * paa: revived standalone svn repo and merged in latest version from mdi Release 0.1.4 (Mon Nov 15 11:40:45 CET 2010) * paa: shortened warning message Release 0.1.3 (Mon Nov 15 10:37:10 CET 2010) * paa: improved comments and warning in initialise function Release 0.1.2 (Mon Nov 15 07:30:18 CET 2010) * paa: corrected usage message for 'paa avail' * paa: split 'paa list' functions into list_short() and list_long() to remove need for MIRRORS_ROOT to be set for short listings Release 0.1.1 (Sun Nov 14 13:43:20 CET 2010) * paa: don't output the file:/// and the http:/// format for apt to use; only do one (this is due to that if the requested format is file:/// then that outputted *two* file:/// and pdi, which didn't want the file:/// one was grepping that - AND THE DESIRED ONE - away. paa: removed much commented out code Release 0.1 (Thu Jul 29 11:54:17 CEST 2010) * paa: delete stuff from ahtools which should not part of paa