cni.dev icon indicating copy to clipboard operation
cni.dev copied to clipboard

Change cni.dev version scheme

Open nate-double-u opened this issue 4 years ago • 7 comments
trafficstars

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

nate-double-u avatar Jan 08 '21 00:01 nate-double-u

@squeed, @bboreham, @dcbw, @mccv1r0

If you're interested, I'm happy to make this update.

nate-double-u avatar Jan 08 '21 00:01 nate-double-u

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.

squeed avatar Jan 12 '21 10:01 squeed

[edit] comment moved to description.

nate-double-u avatar Feb 17 '21 02:02 nate-double-u

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.

nate-double-u avatar Mar 01 '21 17:03 nate-double-u

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?

nate-double-u avatar Mar 22 '21 18:03 nate-double-u

@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

nate-double-u avatar Mar 22 '21 18:03 nate-double-u

the sites should be deleted :)

caniszczyk avatar Apr 01 '21 19:04 caniszczyk