Commit graph

14 commits

Author SHA1 Message Date
ayakael
a1be609425
[db_set] Fixed value comparison because of now non-existent extra character from print_meta_mtag 2018-12-30 09:17:31 -05:00
ayakael
2e9404349e
[chk_deployed_ids] Fixed bug during sanity check for both IMAGEID and TRACKID
[chk_import_images] Rewrote import images command
[db_set] Fixed bug where non-english characters wouldn't get pushed to upper case for non case-sensitive comparison
[import_images] Rewrote import_images
2018-12-26 17:06:59 -05:00
ayakael
a184b1d70b
[db_set] Now ignores REPO_VERSION value in db 2018-07-02 07:09:53 -08:00
ayakael
817a79b4d4
[all] Added function dependency information 2018-05-18 13:39:39 -07:00
ayakael
9df4e5fb0d
[db_set] Updated to ignore REPO_ID field 2018-05-16 00:04:35 -07:00
ayakael
d06aa7beb6
[db_set] All conditional will now not overwrite LAST_DEPLOY and LAST_UPDATE rows 2018-05-15 23:32:10 -07:00
ayakael
71753962bd
[db_set] In the event of "all" conditional, will output full DB_FILE for match count 2018-05-15 23:25:55 -07:00
ayakael
0c670b69db
[db_set] Fixed bug with awk statement 2018-05-15 23:24:01 -07:00
ayakael
dc2f09d4e3
[db_set] Added if statement for "all" condition to apply selection to all tracks 2018-05-15 23:22:28 -07:00
ayakael
834594e217
[db_set] Fixed typo in awk command 2018-04-07 12:56:46 -04:00
ayakael
72aac8134f
Deprecations in favour of changes in deployment workflow:
[is_selected] Deprecated (and exterminated)
[deploy_imageid] Deprecated in favor of deploy_cp, deploy_rm and deploy_meta
[deploy_trackid] Deprecated in favor of deploy_cp, deploy_rm and deploy_meta

Misc changes and bugfixes for print functions
[print_future_path] In the event that TITLE is not set, TITLE will now be ALBUM, for tracks without titles.
[print_meta_flac] Track TITLES with colons are now kept
[print_present_path] Now needs IMAGEID and TRACKID in argument for TRACKID wasn't unique enough
[print_trackids_to_imageids] Prints the IMAGEIDs of all TRACKIDs

New functions for new deployment workflow that allows for deletion first, copying later, and smarter metadata adjustments
[deploy_rm] Removes all given TRACKIDs (i.e, what FILE_DB defines as false, but target_dir is not null)
[deploy_cp] Function copies TRACKIDs on a IMAGEID by IMAGEID basis to TARGET
[deploy_meta] Function applies metadata to IMAGEID tracks
[cmd_deploy] Rewrote cmd_deploy for use of new deploy functions

Bug fixes to db selections and db update
[db_set] Now ignores all lines that have LAST_DEPLOY and LAST_UPDATE
[db_update] Added function to report a file as removed from git dir. (null in selection column)
[cmd_update] LAST_COMMIT is now LAST_UPDATE in favour of LAST_DEPLOY, which is for commit of when last deployment occured
[cmd_update] Gawk is now used for inplace editing of database

Misc. adjustements
[cmd_deploy] Rewrote disk usage check
2018-04-06 18:55:34 -04:00
ayakael
10de67b3be
[db_set] Is now case insensitive when doing FIELD and VALUE comparisons 2018-03-29 12:53:21 -04:00
ayakael
d3c141cbd8
[build.sh] Updated build script to remove debug eval command.
[build.sh] Build script now has 'env' file at head and 'parser' file tail
[cmd_deploy] Now uses the _OPT_DB_FILE variable instead of DB_FILE
[cmd_deploy] now generates imageidList using DB_FILE if imageid not provided by user
[cmd_exclude] Rewrote to operate as front end to db_set's exclude function
[cmd_include] Added as front end to db_set's include function
[cmd_update] Fixed some typos
[db_set] Added as backend to DB_FILE trackid selection
[env] Now defines _OPT_DB_FILE as .dam.db
[parser] Updates parser to support cmd_deploy, cmd_include, cmd_exclude and cmd_update
[print_meta_mtag] Last line now does not trail with ";" character
2018-03-28 19:26:38 -04:00
ayakael
e05faf010f
Renamed function print_present_meta to print_meta_flac
Renamed function print_future_meta to print_meta_mtag, and added ability to define what field to extract
Renamed function update_db to db_update, and updated to support new database format
Created function db_set to set selection of trackid depending on conditions
Updated cmd_deploy to support deploy_imageid
Updated cmd_update to support new db_update
2018-03-28 12:48:49 -04:00