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

Question Snapshots #5

Open
starflighter opened this issue Aug 9, 2017 · 12 comments
Open

Question Snapshots #5

starflighter opened this issue Aug 9, 2017 · 12 comments

Comments

@starflighter
Copy link

Hi,
is it possible to take and edit aptly-snapshots in this web-ui?
That would be great :-)

Thanks
Yvonne

@sdumetz
Copy link
Owner

sdumetz commented Aug 9, 2017

Nope. This UI is currently not snapshot-aware. It's definitely something I'd like to add though.

@starflighter
Copy link
Author

That would be awsome!
If I can help, just say it. But I can't write Java Script, only HTML and Shell.

@sdumetz
Copy link
Owner

sdumetz commented Aug 9, 2017

Right now, I'm at the "define how it would work and how it would look" step, so you can definitely help with no JS knowledge.

What would be for you the minimal function set for this feature to be usable and to know how it maps in aptly API calls?

@starflighter
Copy link
Author

I haven't worked long with aptly yet. I need some time to look at the api and some use-cases for the snapshots. So I hope I can tell you the next 2 weeks more....

@starflighter
Copy link
Author

Sorry for the delay.
I need more time, a lot of other stuff to do at work :-)...
The minimal set is to get, add and delete the snapshots.
Is it possible to get a list of all the packages in a repo and you can choose which you like in the new snapshot? That would be a lot of packages... the performance would be probably horrible.

@sdumetz
Copy link
Owner

sdumetz commented Aug 30, 2017

I implemented getting the snapshots in the latest commits. Deleting them should also be straightforward.

However I'm not yet sure about how snapshot creation should be handled? Maybe a simple button Create snapshot from "reponame" in /ui/snapshots would do for most use cases?

@starflighter
Copy link
Author

That would be enough I think.

@starflighter
Copy link
Author

I tried the new version of the web-ui. It looks good.
grafik

But can you change the date of the snapshot to format yyyy-mm-dd-hh-mm-ss? That is more readable.

@sdumetz
Copy link
Owner

sdumetz commented Sep 8, 2017

Will do. Thanks for testing.

@sdumetz
Copy link
Owner

sdumetz commented Sep 14, 2017

I've added a (crude) snapshot creation tool in v0.2.2 that should work.

It's useless as long as there is no way to restore/delete snapshots but hey, it's a start ;-)

@starflighter
Copy link
Author

Hi,
I tried the version 02.2 today - it looks good...
grafik

Just for your information I set it up on a Ubuntu 16.04.3 LTS with nginx/1.10.3 (Ubuntu). No problems here :-)
Next step is the action "delete snapshot" ?

@sdumetz
Copy link
Owner

sdumetz commented Sep 22, 2017

I've an important rework on the publish API that's needed to support this.
As soon as it's done (next minor version), I'll be able to handle snapshot removal and publication easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants