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

Renaming internal repos #83

Open
kousu opened this issue Jun 1, 2021 · 2 comments
Open

Renaming internal repos #83

kousu opened this issue Jun 1, 2021 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@kousu
Copy link
Contributor

kousu commented Jun 1, 2021

According to https://gitolite.com/gitolite/basic-admin.html#removingrenaming-a-repo you need to have ssh access to data in order to rename repos. I can see why they did this, for security and everything, but this is a little unfortunate.

Look into gitolite's wildrepo feature, optional commands and figure out if any of them allow renaming. If not, consider writing one (while being security-conscious about symlink etc attacks)

@kousu kousu added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Jun 1, 2021
@kousu kousu changed the title renaming internal repos Renaming internal repos Jun 1, 2021
@kousu
Copy link
Contributor Author

kousu commented Jun 1, 2021

For the record, the current way to do this is

ssh root@data.neuro.polymtl.ca
sudo -u git -i
cd repositories/datasets/
mv $dataset.git $new_name.git

Maybe I should at least add that to the docs in the meantime?

kousu added a commit that referenced this issue Jun 1, 2021
@alexfoias
Copy link
Contributor

tested the command from above and they worked.

kousu added a commit that referenced this issue Jun 1, 2021
@kousu kousu closed this as completed Jun 8, 2021
@kousu kousu reopened this Jun 8, 2021
kousu added a commit to neuropoly/intranet.neuro.polymtl.ca that referenced this issue Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants