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

Update datetime and version on copy #39

Closed
psyhtest opened this issue Sep 22, 2015 · 2 comments
Closed

Update datetime and version on copy #39

psyhtest opened this issue Sep 22, 2015 · 2 comments

Comments

@psyhtest
Copy link
Collaborator

Currently CK copy creates a new UID and updates the name e.g.:

anton@localhost ~/CK/reproduce-carp-project/demo $ ck cp reproduce-carp-project:demo:explore-hog-lws reproduce-carp-project:demo:explore-new-hog-lws
Entry demo:explore-hog-lws was successfully copied!
anton@localhost ~/CK/reproduce-carp-project/demo $ diff explore-{,new-}hog-lws/.cm/info.json
2c2
<   "backup_data_uid": "44bb91f7f0d759da", 

---
>   "backup_data_uid": "8517804c4aefa229", 
19c19
<   "data_name": "explore-hog-worksize"

---
>   "data_name": "explore-new-hog-lws"

However, it's a great opportunity to update the "datetime" and "version" fields too:

    "iso_datetime": "2015-06-09T16:30:40.498000", 
    "license": "See CK LICENSE.txt for licensing details", 
    "version": [
      "1", 
      "2", 
      "0605"
    ]
@gfursin
Copy link
Contributor

gfursin commented Oct 27, 2015

I fixed that. Can you please check it? Thanks!

@ctuning
Copy link
Contributor

ctuning commented Dec 11, 2015

It should be solved now so I close this ticket!

@ctuning ctuning closed this as completed Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants