Discussion:
Pagure "Pull Requests" URL?
Christopher
2018-11-27 22:25:27 UTC
Permalink
Okay, so, in https://src.fedoraproject.org , repos seem to have two
URLs for SSH access.
One is referred to as "Pull Requests" in the "helpful" "Clone"
dropdown menu. However, I cannot figure out what this is for.

If the origin is:
ssh://***@pkgs.fedoraproject.org/rpms/zookeeper.git

Then the "Pull Requests" URL for SSH is:
ssh://***@pkgs.fedoraproject.org/requests/rpms/zookeeper.git

Pull requests seem to be in origin, under refs/pull/* (just like
GitHub), but *NOT* in this separate (related?) repo.

So, why does the UI mention this URL at all and what is it actually used for?

(As far as I can tell, it's only used for accidentally pushing working
branches when you use the wrong URL and being unable to subsequently
delete them due to a pre-receive hook. Am I wrong?)
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproj
Miro Hrončok
2018-11-27 22:39:14 UTC
Permalink
Post by Christopher
Okay, so, in https://src.fedoraproject.org , repos seem to have two
URLs for SSH access.
One is referred to as "Pull Requests" in the "helpful" "Clone"
dropdown menu. However, I cannot figure out what this is for.
Pull requests seem to be in origin, under refs/pull/* (just like
GitHub), but *NOT* in this separate (related?) repo.
The Pull Requests repo lists metadata about pull Requests.

There is a link *Learn more about these different git repos* bellow the
URLs:

https://docs.pagure.org/pagure/usage/

"One of the major difference with GitHub and GitLab is that for each
project on pagure, four git repositories are made available:

A git repository containing the source code, displayed in the main
section of the pagure project.
A git repository for the documentation
A git repository for the issues and their metadata
A git repository for the metadata for pull-requests"

src.fp.o has issues turned off (and I assume docs as well), so you only get:


* A git repository containing the source code, displayed in the main
section of the pagure project.
* A git repository for the metadata for pull-requests

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org
Christopher
2018-11-27 23:24:37 UTC
Permalink
Post by Miro Hrončok
Post by Christopher
Okay, so, in https://src.fedoraproject.org , repos seem to have two
URLs for SSH access.
One is referred to as "Pull Requests" in the "helpful" "Clone"
dropdown menu. However, I cannot figure out what this is for.
Pull requests seem to be in origin, under refs/pull/* (just like
GitHub), but *NOT* in this separate (related?) repo.
The Pull Requests repo lists metadata about pull Requests.
There is a link *Learn more about these different git repos* bellow the
https://docs.pagure.org/pagure/usage/
"One of the major difference with GitHub and GitLab is that for each
A git repository containing the source code, displayed in the main
section of the pagure project.
A git repository for the documentation
A git repository for the issues and their metadata
A git repository for the metadata for pull-requests"
* A git repository containing the source code, displayed in the main
section of the pagure project.
* A git repository for the metadata for pull-requests
Thanks.

I did see (and read) that, but I was still confused, because I didn't
know what "metadata for pull-requests" meant, nor was it obvious (to
me) how that information aligned to UI elements (the descriptions of
the repos didn't match the section headers in the drop-down: "Pull
Requests" != "Metadata for Pull Requests").

I think it would be better if the non-source repos were an extra click
away (a second tab within the drop-down would work), and it would be
better if users couldn't accidentally create branches in the metadata
repos.
Post by Miro Hrončok
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedo
Loading...