Jira (PDB-5097) Create CLI for time shifting lein alias

0 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Apr 7, 2021, 9:29:03 AM4/7/21
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
PuppetDB / Task PDB-5097
Create CLI for time shifting lein alias
Issue Type: Task Task
Assignee: Unassigned
Created: 2021/04/07 6:28 AM
Priority: Normal Normal
Reporter: Bogdan Irimie
lein timeshift-export --timeshift-to now -o timeshifted.tgz original.tgz

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Apr 7, 2021, 9:32:03 AM4/7/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Apr 7, 2021, 9:33:04 AM4/7/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: HAHA/Grooming 2

Bogdan Irimie (Jira)

unread,
Apr 7, 2021, 9:35:04 AM4/7/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
| Add a (for now) dev-only {{ lein }} alias to timeshift wire format exports (produced by the pdb archive endpoint).  Perhaps something like this:

{code:sh}
lein timeshift
-export --timeshift-to now -o timeshifted.tgz original.tgz |
{code}
 
See the {{:install-gems}} alias in {{project.clj}} for an example:

{code:clojure}
:install-gems {:source-paths ^:replace ["src-gems"]
               :target-path "target-gems"
               :dependencies ~puppetserver-test-deps}
{code}

We might be fine with the normal (non-test) deps (not sure), and might want to include the main tree in the source paths, i.e. maybe {{:source-paths ^:replace ["src-shift-export" "src"]}} or something.  Could also use https://github.com/clojure/tools.cli for the argument processing.  Alhough if the above options are all we need for now, then handling the arguments manually may be sufficient.

Andrei Filipovici (Jira)

unread,
Apr 12, 2021, 6:57:02 AM4/12/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Apr 21, 2021, 3:27:03 AM4/21/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-21.04.2021 , HAHA/Grooming 2

Bogdan Irimie (Jira)

unread,
May 5, 2021, 9:44:02 AM5/5/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-21.04.2021, Ghost-5.05.2021 , HAHA/Grooming 2

Bogdan Irimie (Jira)

unread,
May 5, 2021, 10:29:02 AM5/5/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-21.04.2021, Ghost-5.05.2021, ghost-19.05.2021 , HAHA/Grooming 2

Zachary Kent (Jira)

unread,
May 21, 2021, 3:56:02 PM5/21/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Fix Version/s: PDB 7.4.0

Austin Blatt (Jira)

unread,
Jun 17, 2021, 5:06:02 PM6/17/21
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Fix Version/s: PDB 6.16.2

Austin Blatt (Jira)

unread,
Jun 17, 2021, 5:14:01 PM6/17/21
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Release Notes: Not Needed
Reply all
Reply to author
Forward
0 new messages