jessepeterson / margarita

Web frontend for reposado
The Unlicense
244 stars 40 forks source link

Displaying size of an update #29

Closed gabesterr closed 8 years ago

gabesterr commented 9 years ago

I have an environment where I need to build a couple reposadories that are size limited; is there a way to get the size of a given update displayed, and ideally sorted, in the margarita UI? I'd envision it being a separate column like version and release date.

jessepeterson commented 9 years ago

Just recently implemented sortable columns and download links, so it's certainly possible to have a size column without any trouble. However I think the UI is already a little crowded with columns along if you have very many branches.

But on the topic of repositories: how would you plan on making a size limited one? If you remove a non-deprecated update from an active catalog it'll just download again next repo_sync run, no?

gabesterr commented 9 years ago

Sorry, I should have clarified. I have a couple of reposado distribution points that only have so much storage capacity, so I must be careful which updates I add to them (i.e. 3.5MB app update, OK... 2.3GB content update for app, SKIP.) To that end being able to view the size of each update inline somewhere would be highly beneficial to me, but I realize it's an edge case.

jessepeterson commented 9 years ago

Well, you can now click on each link and see the size of each individual package for an update. It'd need to be a compelling case to further cramp the table with another column, though. Perhaps an option sometime.

jessepeterson commented 8 years ago

I'm going to close this issue and consider it resolved per the last comment. Thanks!