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

Find strategy to make Jekyll theme repositories useful templates without forking #15

Open
matthewfeickert opened this issue Aug 6, 2024 · 4 comments

Comments

@matthewfeickert
Copy link
Member

matthewfeickert commented Aug 6, 2024

I think that creating a cookiecutter (or maybe there is a Ruby equivalent — a question for Henry probably) makes more sense for achieving what the design goal seems to be here, as otherwise all the projects are tied to each other forever (unless you email GitHub support for each individual repo and ask them to sever the "fork" tie between things). This isn't necessarily "bad", but once projects start to deviate then it can start to become a bit strange to have large deviations in the commit history from the parent project and the fork if there isn't any plan for reunification in the future.

Originally posted by @matthewfeickert in UW-Madison-DSI#11 (comment)

@matthewfeickert matthewfeickert changed the title Thanks. This all helps put things in a more clear perspective. Find strategy to make Jekyll theme repositories useful templates without forking Aug 6, 2024
@matthewfeickert matthewfeickert transferred this issue from UW-Madison-DSI/ospo.wisc.edu Aug 6, 2024
@matthewfeickert
Copy link
Member Author

@cranmer While I'd still like to find a better strategy, for the time being I've enabled the "Template repository" setting in https://github.com/UW-Madison-DSI/uw-jekyll-theme/settings

image

so that people can create a new repository with the same structure by clicking the "Use this template" button now added, without the problems of having the "fork" connection to the parent project.

image

GitHub docs: https://docs.github.com/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template

@cranmer
Copy link

cranmer commented Aug 6, 2024 via email

@matthewfeickert
Copy link
Member Author

matthewfeickert commented Aug 6, 2024

unless you email GitHub support for each individual repo and ask them to sever the "fork" tie between things

I have a ticket open with GitHub to detach this repo (https://github.com/UW-Madison-DSI/uw-jekyll-theme/) from its fork parent https://github.com/cranmer/cranmer-lab as the commit history divergence is going to become large without any plan to reconcile them.

@matthewfeickert
Copy link
Member Author

My ticket has been resolved and so https://github.com/UW-Madison-DSI/uw-jekyll-theme has now been "extracted to a new network" and so is no longer connected to https://github.com/cranmer/cranmer-lab as a fork.

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