-
Notifications
You must be signed in to change notification settings - Fork 28
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
Put a date in the stackage URL #37
Comments
One idea we discussed in the past was just having the date for the hash, yeah. It occurs to me that the @snoyberg Thoughts? |
I generally agree but don't have time today to answer. Let's discuss next
|
I found some time after all. Thoughts:
Sound reasonable? |
Sounds reasonable to me. |
Love you guys. :) |
OK, I have to call it here till next week, but I want to backpedal on what I said above. Maybe there isn't a point to the hash-based idents at all, and instead we'll just let uploaders request a name when uploading and use that. The only downside is that we can't stop double-upload, which isn't a big deal in reality. |
If you add hours and second to the date, then double uploads are practically impossible. Adding a username in the URL (like with github and launchpad PPAs) helps as well. |
URLs now look like /snapshot/2014-11-23-7.8hp-exc and similar.
@chrisdone I've implemented these changes. For various uninteresting reasons I had to go with my original approach for the data model. The changes are on the 37-nicer-urls branch. Can you check it out before I release to production? |
I've deployed these changes to production. The current URLs are migrated from the old titles, so they're not completely consistent. Snapshots released from now on will have proper, consistent snapshot names, like 2014-11-24-76-exc. Please give it a shot and see how it works. And thanks for bringing this up @cies, I think it makes it much nicer to use. |
Closing this issue as resolved, if there's still a problem please reopen or start a new issue. |
The current Stackage URL does not indicate when it was build, and that makes it difficult to quickly find how old the snapshot is that a particular project is/was known to build with.
On top of that I think the current line is very long:
Would something shorter and more descriptive not be possible?
Currently it is a hex code; maybe a base64 (possibly without special chars, so base62) could be used to make collisions even more impossible or the URL more short. Given that the date is in the URL collisions are already extremely unlikely.
Last question; could
http://www.stackage.org/stackage/...
be changed tohttps://stackage.org/snapshot/...
? [https
, nowww
as it is not html,snapshot
as that's what it is]The text was updated successfully, but these errors were encountered: