cni.dev
cni.dev copied to clipboard
Change cni.dev version scheme
I've been researching a fair amount on how to do versioning in hugo, and think that the URL scheme I set up for cni.dev is probably not the best method for this site.
A folder method of versioning cni.dev may be better for the following reasons:
- Simpler logic for maintainers
- No need to maintain feature branches
- No requirement for maintainer to have access to Netlify to manage a release
A con I can think of for this method, for a site of this size, is that once you start adding languages/localizations navigation becomes more complex.
Once PR #80 is merged in, then we can:
- [ ] Remove version feature branches here in github
- [x] Remove version Netlify servers
@squeed, @bboreham, @dcbw, @mccv1r0
If you're interested, I'm happy to make this update.
I think the folder method is probably the right choice; I don't see us localizing anytime soon, but we definitely will be cutting versions semi-frequently.
[edit] comment moved to description.
I don't have any analytics access -- do we know if people are visiting the previous versions now? I'm curious because we may want to change the feature branches that point to the new versions system instead of deleting them entirely -- turn them into redirects to preserve bookmarks. We maybe able to do this on the Netlify side so we don't have to maintain the feature branches here.
Now that PR #80 has been merged in, we can bring down the Netlify sites, and delete the feature branches for the versions.
Netlify sites that need to be brought down:
- [x] https://app.netlify.com/sites/v0-6-0-cni/overview
- [x] https://app.netlify.com/sites/v0-7-6-cni/overview
- [x] https://app.netlify.com/sites/v0-8-6-cni/overview
- [x] https://app.netlify.com/sites/v0-8-7-cni/overview
- [x] https://app.netlify.com/sites/v0-9-0-cni/overview
@zacharysarah, @caniszczyk, @squeed, I don't have the Netlify admin permissions to delete these sites, and suspending them isn't an option. Who is the best person to bring down these sites?
@squeed as the feature branches for the versions are protected, I'm not able to delete them.
Feature branches to be deleted:
- [ ] https://github.com/containernetworking/cni.dev/tree/release-0.6.0
- [ ] https://github.com/containernetworking/cni.dev/tree/release-0.7.6
- [ ] https://github.com/containernetworking/cni.dev/tree/release-0.8.6
- [ ] https://github.com/containernetworking/cni.dev/tree/release-0.8.7
- [ ] https://github.com/containernetworking/cni.dev/tree/release-0.9.0
the sites should be deleted :)