refactor(hook): Allow pkg list of up to 30 chars length (#1)

This commit is contained in:
hygienic-books 2023-03-07 00:04:34 +01:00
parent 776480a9a3
commit 39490c3d7a
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ snaps_important_keep='5'
snaps_trivial_suffix='trv' snaps_trivial_suffix='trv'
snaps_important_suffix='imp' snaps_important_suffix='imp'
pkgs_list_max_length='24' pkgs_list_max_length='30'
# Hook will by default snapshot all datasets that have the property # Hook will by default snapshot all datasets that have the property
# 'space.quico:auto-snapshot=true' set, even the ones that are not currently # 'space.quico:auto-snapshot=true' set, even the ones that are not currently

View File

@ -23,7 +23,7 @@ if [[ ! "${snaps_trivial_keep}" ]]; then snaps_trivial_keep='15'; fi
if [[ ! "${snaps_important_keep}" ]]; then snaps_important_keep='5'; fi if [[ ! "${snaps_important_keep}" ]]; then snaps_important_keep='5'; fi
if [[ ! "${snaps_trivial_suffix}" ]]; then snaps_trivial_suffix='trv'; fi if [[ ! "${snaps_trivial_suffix}" ]]; then snaps_trivial_suffix='trv'; fi
if [[ ! "${snaps_important_suffix}" ]]; then snaps_important_suffix='imp'; fi if [[ ! "${snaps_important_suffix}" ]]; then snaps_important_suffix='imp'; fi
if [[ ! "${pkgs_list_max_length}" ]]; then pkgs_list_max_length='24'; fi if [[ ! "${pkgs_list_max_length}" ]]; then pkgs_list_max_length='30'; fi
if [[ ! "${snap_only_local_datasets}" ]]; then snap_only_local_datasets='true'; fi if [[ ! "${snap_only_local_datasets}" ]]; then snap_only_local_datasets='true'; fi
if [[ ! "${snap_field_separator}" ]]; then snap_field_separator='_'; fi if [[ ! "${snap_field_separator}" ]]; then snap_field_separator='_'; fi
if [[ ! "${snap_name_prefix}" ]]; then snap_name_prefix='pac'; fi if [[ ! "${snap_name_prefix}" ]]; then snap_name_prefix='pac'; fi