4 ms·
I'm so happy. The last time I tried setting up a GNOME dev environment I ran into two major issues. Using jhbuild to download dependencies doesn't work if your
by hashhar 10y ago
I'm so happy. The last time I tried setting up a GNOME dev environment I ran into two major issues.
Using jhbuild to download dependencies doesn't work if your network blocks git:// URLs. I had to hunt a lot to learn to tell jhbuild to use https:// https:// or ssh:// URLs instead. It still broke when updating a dependency and only worked for toplevel explicit dependencies.
The second was the extremely long process of getting the dev environment set up compared to the ease with which Mozilla does it.
Both of those issues look fixed now and make the ecosystem all the more inviting for me to hack on. I even think you guys bested Mozilla on that second point.
I'll try it out and report back.
PS: Is this tied in some way to Ubuntu or can other systems get in on the fun as well? Arch Linux does have a gnome-unstable repo so I can grab the latest GNOME Builder.
- snuxoll 10y agoAssuming this will be part of GNOME 3.24 it should be in Fedora 26 and Ubuntu 17.04. Other distributions will depend on when GNOME 3.24 packages land.
- hashhar 10y agoCool. Arch's gnome-unstable repo ships git master builds for GNOME 3.24. I'm gonna go set it up now.
- ronjouch 10y agoAlso, for those wondering, 3.24 is coming in stable Arch repos after the rebuild-the-universe move to OpenSSL 1.1.0. Source: r/arch, https://www.reddit.com/r/archlinux/comments/633jgj/whats_the_current_progress_on_gnome_324_in_arch/ https://www.reddit.com/r/archlinux/comments/633jgj/whats_the... and https://www.reddit.com/r/archlinux/comments/640wl0/why_isnt_gnome_324_available/ https://www.reddit.com/r/archlinux/comments/640wl0/why_isnt_...
- deleted 10y ago[deleted]
- avar 10y agoUnrelated to your jhbuild issues, you can often solve this class of issue in git by teaching git itself to search-replace the URL with "url.<base>.insteadOf". See the git-config manpage.
- hashhar 10y agoI tried that at first but the issue was that URLs didn't map perfectly. A url like git://freedesktop.org/harfbuzz.git mapped to https://git.freedesktop.org/projects/harfbuzz.git https://git.freedesktop.org/projects/harfbuzz.git or something to that end.
- avar 10y agoIt doesn't have to map perfectly as long as both end in the same suffix. Test with: git -c url.https://git.freedesktop.org/projects/.insteadOf=git://freedesktop.org/ clone git://freedesktop.org/harfbuzz.git Cloning into 'harfbuzz'... fatal: unable to access 'https://git.freedesktop.org/projects/harfbuzz.git/': Failed to connect to git.freedesktop.org port 443: Connection refused Then set it in your config: git config --global url.https://git.freedesktop.org/projects/.insteadOf git://freedesktop.org/ And now anything on your system cloning or fetching git://freedesktop.org/harfbuzz.git will use https://git.freedesktop.org/projects/harfbuzz.git https://git.freedesktop.org/projects/harfbuzz.git instead.
- hashhar 10y agoWow. Thanks. I guess it will work for all git commands (including the clone --recursive) ones? EDIT: Yup. Works great. I'll check with jhbuild and add to the wiki if it works.
- jwilk 10y agoYou can copy&paste config for freedesktop.org (and other popular git repos) from here: https://github.com/jwilk/https-everygit/blob/master/gitconfig https://github.com/jwilk/https-everygit/blob/master/gitconfi...