[ -n "$COMMAND_SHOW_LEVEL" ] || COMMAND_SHOW_LEVEL=`options_get_dependency_level`
dbsuffix=$COMMAND_SHOW_DEPTAG.$COMMAND_SHOW_LEVEL
case $COMMAND_SHOW_SUBJECT in
- todo | done | redo | resolved | inst_by_pkg | failure | taboo | freeze | need | noneed | deleted | restored | heritage |conflict )
+ todo | done | redo | resolved | inst_by_pkg | failure | taboo | freeze | need | noneed | deleted | restored | fossil |conflict )
database_query_show_single_list_exec "$COMMAND_SHOW_SUBJECT" \
"$COMMAND_SHOW_DEPTAG" "$COMMAND_SHOW_LEVEL" || :
;;
}
# ============= Show installed ports which have been neither upgraded or reinstalled from the initial state =============
-database_query_show_list_heritage ()
+database_query_show_list_fossil ()
{
local srclist origin pkg
- srclist=`ls "${DBDIR}"/fossil_pkgs/heritage_since_* | head -n 1`
+ srclist=`ls "${DBDIR}"/fossil_pkgs/fossil_since_* | head -n 1`
[ -e "$srclist" ] || return 0
while read origin
do
database_query_show_list_failure
return
;;
- heritage )
+ fossil )
message_echo "The following ports are neither upgraded or reinstalled from the initial state:"
message_echo
- database_query_show_list_heritage
+ database_query_show_list_fossil
return
;;
conflict )
MYVERSION=4.1.0
COMPATIBLE_VERSIONS='^(4\.[1]\.[0-9])$'
# Template for development versions
- MYVERSION=4.0.0+toward_4.1.0_20180823215600
+ MYVERSION=4.0.0+toward_4.1.0_20180823234307
COMPATIBLE_VERSIONS='^(4\.[0-1]\.[0-9]]|4\.[0]\.[0]+(|\+toward_4\.[0-1]\.[0-9]+_[0-9]+))$'
}
PROGRAM_DEPENDS=''
_program_exec_and_record_completion__operation ()
{
- local heritage_path
+ local fossil_path
message_section_title "Collecting all installed packages"
mkdir -p "${DBDIR}/fossil_pkgs"
- heritage_path=${DBDIR}/fossil_pkgs/heritage_since_`pkgsys_get_timestamp_portstree`
- if [ ! -e "$heritage_path" ]
+ fossil_path=${DBDIR}/fossil_pkgs/fossil_since_`pkgsys_get_timestamp_portstree`
+ if [ ! -e "$fossil_path" ]
then
- pkg_info_all_flavored_origins > $heritage_path.tmp
- mv "$heritage_path.tmp" "$heritage_path"
+ pkg_info_all_flavored_origins > $fossil_path.tmp
+ mv "$fossil_path.tmp" "$fossil_path"
fi
if [ ! -e "${DBDIR}/installed_ports" ]
then
- cp "$heritage_path" "${DBDIR}/installed_ports.tmp"
+ cp "$fossil_path" "${DBDIR}/installed_ports.tmp"
mv "${DBDIR}/installed_ports.tmp" "${DBDIR}/installed_ports"
fi
pkgsys_gen_init_pkg_origin_table
;;
show )
case $COMMAND_SHOW_SUBJECT in
- todo | done | redo | resolved | failure | deleted | restored | heritage | conflict | leaves | obsolete )
+ todo | done | redo | resolved | failure | deleted | restored | fossil | conflict | leaves | obsolete )
database_query_chk_preparation_completion;;
esac
temp_warn_obsolete_temp_db >&2
shift || :
fi
case $COMMAND_SHOW_SUBJECT in
- todo | done | redo | resolved | inst_by_pkg | failure | taboo | freeze | need | noneed | restored | deleted | heritage | conflict )
+ todo | done | redo | resolved | inst_by_pkg | failure | taboo | freeze | need | noneed | restored | deleted | fossil | conflict )
_command_parse_args__chk_no_arg $#
;;
leaves | obsolete )
| glob globs... | pkg globs... | options
| show todo | show done | show resolved | show inst_by_pkg | show failure | show redo
| show taboo | show need | show noneed | show restored | show deleted
- | show heritage | show conflict
+ | show fossil | show conflict
| show build_conflict_pkgs | show inst_conflict_pkgs
| show leaves [selected | unselected] | show obsolete [selected | unselected]
| show requirements glob... | show dependents glob...
Leaf, obsolete or unneeded ports are to be or have been deleted.
With \fB\-a\fR option, the first and second columns denote the flavored origin and initial/new/current package name, respectively.
.TP
-\fBheritage\fR
+\fBfossil\fR
Installed ports which have not been either upgraded or reinstalled since the initial state.
With \fB\-a\fR option, the first and second columns denote the flavored origin and package name, respectively.
.TP
.TP
\fBstatus\fR \fIglob1\fR [\fIglob2\fR ...]
Current success/failure status in (re)installation of matching ports/packages.
-Returned values are null, "todo", "done", "resolved", "inst_by_pkg", "failure", "redo", "taboo", "freeze", "need", "noneed", "restored", "deleted", "heritage", or "conflict", where null means that they are untouched in the current option configuration or temporary reset due to configuration changes.
+Returned values are null, "todo", "done", "resolved", "inst_by_pkg", "failure", "redo", "taboo", "freeze", "need", "noneed", "restored", "deleted", "fossil", or "conflict", where null means that they are untouched in the current option configuration or temporary reset due to configuration changes.
.TP
\fBerrormessage\fR \fIglob1\fR [\fIglob2\fR ...]
Error message in (re)installation of matching ports/packages.
.PP
[NEW] \fBauto\fR and \fBdestroy\fR commands are added to \fBportsreinstall\-chroot\fR(8).
.PP
-[NEW] \fBpkg\fR, \fBmake\fR, \fBshow build_conflict_pkgs\fR, \fBshow inst_conflict_pkgs\fR, \fBshow errormessage\fR, \fBshow inst_by_pkg\fR, \fBshow heritage\fR, \fBshow leaves\fR and \fBshow obsolete\fR commands are added.
+[NEW] \fBpkg\fR, \fBmake\fR, \fBshow build_conflict_pkgs\fR, \fBshow inst_conflict_pkgs\fR, \fBshow errormessage\fR, \fBshow inst_by_pkg\fR, \fBshow fossil\fR, \fBshow leaves\fR and \fBshow obsolete\fR commands are added.
.PP
[NEW] Command \fBshow status\fR newly supports \fBinst_by_pkg\fR.
.PP