Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1next history log #578

Open
wants to merge 44 commits into
base: v1-next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
145d0ac
feat(history): add class for load/install/uninstall history
isc-shuliu Sep 19, 2024
acdc0d9
Merge branch 'v1-next' into v1next-history-log
isc-shuliu Sep 19, 2024
97c1e56
refactor(history): make the class more user-friendly
isc-shuliu Sep 20, 2024
04ffacf
feat: record install logs
isc-shuliu Oct 3, 2024
015c5dc
feat: record uninstall logs
isc-shuliu Oct 3, 2024
2ad2312
Merge branch 'v1-next' into v1next-history-log
isc-shuliu Oct 3, 2024
314ae4e
feat: record load logs
isc-shuliu Oct 3, 2024
12db14b
feat(history): add API & scaffold for querying history
isc-shuliu Oct 7, 2024
ee6b84e
feat(history): allow dynamic filter of history via zpm command line
isc-shuliu Oct 7, 2024
5deed56
feat(history): allow getting history globally
isc-shuliu Oct 7, 2024
b534803
enhance(history): make default action "find"
isc-shuliu Oct 7, 2024
444eb68
style: clean up
isc-shuliu Oct 7, 2024
824aa9e
refactor(history): always globally stash command string for logging
isc-shuliu Oct 7, 2024
dbda336
refactor(history): make package name optional, only check in finalize
isc-shuliu Oct 8, 2024
93c09b3
refactor(history): set source by repo name only
isc-shuliu Oct 8, 2024
f6c05dd
style: indent using tabs
isc-shuliu Oct 8, 2024
b8d3106
refactor(history): make TimeEnd optional, in case of a failure
isc-shuliu Oct 8, 2024
2c240de
wip(history): log subprocess dependency installs; not quite working yet
isc-shuliu Oct 8, 2024
6929079
fix(history): move creation of history log object inside worker process
isc-shuliu Oct 8, 2024
790049f
fix: remove unused storage definition
isc-shuliu Oct 8, 2024
0856220
fix: typo fix
isc-shuliu Oct 8, 2024
de9e0e2
enhance: pretty print histories
isc-shuliu Oct 10, 2024
c27633d
feat: allow displaying history table columns
isc-shuliu Oct 10, 2024
0f2f7a4
enhance: escape linefeed and carriage return in history table
isc-shuliu Oct 10, 2024
fe9d62a
fix(history): properly implement "committed"
isc-shuliu Oct 10, 2024
208f86a
refactor: move escape sequence formatting to ShowColumns
isc-shuliu Oct 10, 2024
8312afc
feat(history): allow specifying sorting order and record number limit
isc-shuliu Oct 10, 2024
836fcad
feat(history): allow comparison operator and wildcards when filtering
isc-shuliu Oct 10, 2024
7c14b69
feat: minor reordering of statements
isc-shuliu Oct 10, 2024
a6a7099
style: minor changes
isc-shuliu Oct 11, 2024
6164e6a
docs: add change log entry for history log
isc-shuliu Oct 11, 2024
c5f56f7
enhance(history): display time diff always in seconds
isc-shuliu Oct 11, 2024
280d999
refactor: expose API queries instead of API methods
isc-shuliu Oct 15, 2024
8a20712
style: minor style change
isc-shuliu Oct 15, 2024
9fdc480
Merge branch 'v1-next' into v1next-history-log
isc-tleavitt Oct 22, 2024
d10486b
docs: improve documentation and use custom datatypes
isc-shuliu Oct 28, 2024
d1a606b
style: misc changes
isc-shuliu Oct 30, 2024
8d7e990
fix(history): package in log can be empty (e.g., load a nonexistent dir)
isc-shuliu Nov 12, 2024
00aab23
fix: defensive coding against nonexistent $$$ZPMCommandToLog
isc-shuliu Nov 12, 2024
d01cfc1
fix(ci): exclude community containers with expired licences
isc-shuliu Nov 14, 2024
4fa092c
Merge branch 'v1-next' into v1next-history-log
isc-shuliu Nov 14, 2024
1990cd0
refactor: use regex instead of pattern matching
isc-shuliu Nov 14, 2024
f300aee
fix: properly filter history by n.s. (%globals are available everywhere)
isc-shuliu Nov 14, 2024
62f747d
fix: switch back to original NS when getting history globally
isc-shuliu Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- #474 Added compatibility to load ".tar.gz" archives in addition to ".tgz"
- #469 Added ability to include an `IPMVersion` in `SystemRequirement` of module.xml
- #530 Added a `CustomPhase` attribute to `<Invoke>` that doesn't require a corresponding %method in lifecycle class.
- #578 Added functionality to record and display zpm history of install, uninstall, and load

### Changed
- IPM is now namespace-specific rather than being installed in %SYS and being available instance-wide.
Expand Down
Loading