JUCE repo has moved!


#1

This is about 2 years overdue, but we’ve finally got around to transferring the github location of JUCE from
https://github.com/julianstorer/JUCE
to
https://github.com/WeAreROLI/JUCE

This shouldn’t actually affect anyone in practical terms because one of the things github does really well is to redirecting old repo URLs, and the old one should just continue to work. But anyone cloning it should switch to using the new URL just to be future-proof!


#2

Some git and bash helpers for future-proofers:

# If you don't have multiple remote urls, like when doing a straight clone:
git remote set-url origin https://github.com/WeAreROLI/JUCE
# If you have multiple remote urls, like a fork of yours and JUCE as 'upstream':
git remote set-url upstream https://github.com/WeAreROLI/JUCE

#3

Being somewhat git-phobic, should I run that git command before changing the remote URL in Xcode or after? Or do I have to change anything at all in Xcode if a run that command?

Thank you.


#4

No need to do anything in Xcode if you run either of the commands above. HTH!


#5

Hi there, are these the commands I should use to update my references if I have Juce as a submodule in my repo (issued in the submodule folder)?


#6

Not really, for the case of JUCE as submodule, I’d suggest to do it like this:

  1. In the main repo (the one that has JUCE as submodule), edit the .gitmodules file and update the URL for JUCE, for example like this:

     [submodule "juce"]
         path = juce
         url=https://github.com/WeAreROLI/JUCE
    
  2. While still in the main repo, issue the following command, which will automatically propagate your change to the repo of your JUCE submodule:

     git submodule sync

#7

For that, it’s easier to manually edit and commit the .gitmodules file.

It will exist in your repository, and look something like this initially:

[submodule "JUCE"]
	path = JUCE
	url = https://github.com/julianstorer/JUCE

After you edit the file, you’ll have to resync, and maybe update, your submodules:

git submodule sync
git submodule update --init --recursive --remote

#8

Okay, no clue why I didn’t see your post at first. :+1:


#9

We’re git crunching machines :joy:


#10

Literally dozens of us on the JUCE forums, dozens!


#11

Thanks git crunchers :slight_smile:!