After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789002 - Make the Git repositories and submodules work with Web proxies
Make the Git repositories and submodules work with Web proxies
Status: RESOLVED FIXED
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-15 03:56 UTC by Saksham Bhalla
Modified: 2017-10-19 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Changed the git:// url to https:// ones in .gitmodules and flatpak/org.gnome.Photos.json (4.20 KB, patch)
2017-10-15 04:14 UTC, Saksham Bhalla
needs-work Details | Review
Submitting two patches, this one is for .gitmodules. (515 bytes, patch)
2017-10-16 12:35 UTC, Saksham Bhalla
committed Details | Review
Changed the "git://..." urls in org.gnome.Photos.json to "https://..." ones (3.95 KB, patch)
2017-10-16 12:37 UTC, Saksham Bhalla
needs-work Details | Review
build: Make the Git submodules work with Web proxies (607 bytes, patch)
2017-10-17 09:50 UTC, Debarshi Ray
committed Details | Review
I generated this one using command line. (4.13 KB, patch)
2017-10-17 13:53 UTC, Saksham Bhalla
committed Details | Review
flatpak: Make the Git repositories work with Web proxies (3.83 KB, patch)
2017-10-19 07:43 UTC, Debarshi Ray
committed Details | Review

Description Saksham Bhalla 2017-10-15 03:56:35 UTC
The repository's whose urls are like "git://..." are not getting cloned because the proxy server blocks such urls.
Comment 1 Saksham Bhalla 2017-10-15 04:14:25 UTC
Created attachment 361596 [details] [review]
Changed the git:// url to https:// ones in .gitmodules and flatpak/org.gnome.Photos.json
Comment 2 Debarshi Ray 2017-10-15 11:41:20 UTC
Review of attachment 361596 [details] [review]:

Thanks for the patch! The commit message needs more work:

(a) The From: field should have a valid "Full Name <email>". See the other commits in the repo and https://wiki.gnome.org/Newcomers/SubmitPatch

(b) The commit message should have the URL of this bug. See the other commits in the repo and https://wiki.gnome.org/Newcomers/SubmitPatch

(c) This commit doesn't just touch the Flatpak JSON, so the org.gnome.Photos.json prefix isn't quite right. Either use two separate patches or change the summary.
Comment 3 Saksham Bhalla 2017-10-16 12:35:11 UTC
Created attachment 361669 [details] [review]
Submitting two patches, this one is for .gitmodules.
Comment 4 Saksham Bhalla 2017-10-16 12:37:43 UTC
Created attachment 361670 [details] [review]
Changed the "git://..." urls in org.gnome.Photos.json to "https://..." ones
Comment 5 Debarshi Ray 2017-10-17 09:49:08 UTC
Review of attachment 361669 [details] [review]:

Thanks for generating the patches with "git format-patch". However, (a) and (b) from comment 2 still apply.
Comment 6 Debarshi Ray 2017-10-17 09:49:45 UTC
Review of attachment 361670 [details] [review]:

Ditto. (a) and (b) from comment 2 still apply.
Comment 7 Debarshi Ray 2017-10-17 09:50:44 UTC
Created attachment 361728 [details] [review]
build: Make the Git submodules work with Web proxies

I fixed and pushed this one. Could you try to fix the other patch?
Comment 8 Saksham Bhalla 2017-10-17 13:53:07 UTC
Created attachment 361744 [details] [review]
I generated this one using command line.
Comment 9 Debarshi Ray 2017-10-19 07:42:39 UTC
Review of attachment 361744 [details] [review]:

Thanks, Saksham! Looks very good. A few nitpicky details:

::: flatpak/org.gnome.Photos.json
@@ +90,3 @@
                 {
                     "type": "git",
+                    "url": "https://git.gnome.org/browse/gnome-online-accounts/"

Nitpick: stray trailing forward slash.

@@ +124,3 @@
                 {
                     "type": "git",
+                    "url": "https://git.gnome.org/browse/libgdata/"

Ditto.
Comment 10 Debarshi Ray 2017-10-19 07:43:36 UTC
Created attachment 361842 [details] [review]
flatpak: Make the Git repositories work with Web proxies

Fixed and pushed! I hope you have an easier time building gnome-photos now.