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

Rename repository #1

Closed
Lextuga007 opened this issue Oct 25, 2023 · 10 comments · Fixed by #6
Closed

Rename repository #1

Lextuga007 opened this issue Oct 25, 2023 · 10 comments · Fixed by #6
Labels
question Further information is requested

Comments

@Lextuga007
Copy link
Member

It might be worth dropping the "QuartoBook" from the name as this describes how it's been built rather than what it contains. Perhaps then expanding on HIQ to health-inqualities-notebook or something similar?

@Lextuga007 Lextuga007 added the question Further information is requested label Oct 25, 2023
@ThomUK
Copy link
Collaborator

ThomUK commented Oct 31, 2023

I would agree with the rename that you propose Zoe.

It might be good to rename the other repo too (https://github.com/nhs-r-community/mdsn-collab), so that they are more clearly linked.

@AlWatson20
Copy link
Collaborator

Hi Sorry only just seen this after leave. I've renamed the notebook repo. The original committed files I did e.g. rproj file has the same old name. let me know what I need to do to rectify .

@Lextuga007
Copy link
Member Author

Lextuga007 commented Nov 6, 2023

Have you changed this locally to your laptop? The name here will need to be changed in GitHub itself (which you are very welcome to do 😄 ) in the Settings tab and it's the very first option to change at the top. The .Rproj will still work with the old name but useful to change and that can be done by creating a new branch locally or from GitHub (on the right side of this page there is a Development section above Notifications where it says Create a branch) or use the packages {usethis} and {gert}, change the name and then push to GitHub where you can set up a pull request.

If you like to use {usethis} and {gert} the code I use for this workflow is:

usethis::pr_init("1-rename-proj") # creates a pr and branch locally

Make the change

gert::git_commit_all("Updated .RProj name")
usethis::pr_push()

And then the GitHub pull request page will open on your browser where you can finish submitting the PR (often clicking on the green buttons).

And to finish once the PR has been approved and merged into main, in the local (laptop):

usethis::pr_finish()

to tidy up the branches.

@AlWatson20
Copy link
Collaborator

I think it has worked using the use this commands.

@Lextuga007
Copy link
Member Author

Would it be ok to drop the HIQ_ from the name? It's not a usual acronym (yet!) so might cause confusion in searches.

@AlWatson20
Copy link
Collaborator

Yes, changed in the settings menu in github

@Lextuga007
Copy link
Member Author

That was fast! Thank you 👍🏻

@francisbarton
Copy link
Collaborator

Sorry to be a total PITA but can we fix the typo in the project & repo name?
It says 'inequalites' instead of 'inequalities', currently.

@francisbarton francisbarton reopened this Nov 6, 2023
@ThomUK
Copy link
Collaborator

ThomUK commented Nov 6, 2023

Eagle eyes goes to @francisbarton.
While fixing, the final URL in the readme is now out of date. Github redirects it OK, but it would be good to update for clarity.

@Lextuga007
Copy link
Member Author

Great spots @francisbarton and @ThomUK and perfect examples of team work! 🏆

@ThomUK ThomUK closed this as completed in c1abecd Nov 7, 2023
@Lextuga007 Lextuga007 linked a pull request Nov 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants