[QGIS-Developer] Update local branch with upstream from within github website

DelazJ delazj at gmail.com
Mon Mar 22 10:30:06 PDT 2021


Hi Matthias,

I realized afterwards that the solution I found and that was somehow "well"
working for my workflows could not necessarily be proposed to our
contributors, be it for docs or for code repo. It requires the person to be
used to git(hub settings) and not all of us have looked into these (and it
may generate some unnecessary confusing noise if not well set up). So let's
say that my message was more to share the tool (in the case there are othr
lazy people like me or without access to full git command line tools).
About the failures, give me your slots and I'd be happy to share screens
with you and explore the issues I encounter. Thanks.

For the docs contributions, you are right: let's keep redirecting people to
the "Edit on github" button at the top of the pages. The idea to add an
information that there's no harm in hitting the button sounds good to me.
You meant as a full text next to the "edit on github" or a text when
hovering it? Not idea how deep we can customize the readthedocs template.

Regards,
Harrissou

Le ven. 19 mars 2021 à 12:25, Matthias Kuhn <matthias at opengis.ch> a écrit :

> Hi Harrissou,
>
> Making contributions to the documentation as easy as possible for everyone
> is a very good goal.
>
> I think for most people the "edit on github" button on the documentation
> page should be the number one go-to place for edits discovered on the fly.
> Normally this will open a new branch in your repository (yes, sometimes you
> get a `patch-1` branch, but that's impossible to avoid this way as far as I
> am aware of).
> Random thought, maybe we could add a link next to it that a) explains that
> we appreciate contributions and b) that there is no risk involved and any
> change will be reviewed before it's published.
>
> The fork sync with upstream looks like a good solution for people who have
> commit rights on the main repository (like you do). As far as I can tell,
> you need to set this up on your own repository and nothing that can be done
> "centralized".
>
> For debugging the failures I am afraid that this won't be possible just on
> the basis of a mail. I'd need to be able to ask some questions
> interactively, maybe we can find some time to share a screen?
>
> Regards
> Matthias
>
>
> On Mon, Mar 15, 2021 at 11:39 AM DelazJ <delazj at gmail.com> wrote:
>
>> Hi all,
>>
>> During the last QGIS Open Day, Rosa made a talk about how she became a
>> docs contributor (if you did not see it, worth a watch [0]). One point
>> raised by some attendees is the not-so-obvious way for beginners to have
>> their branches (mainly master) aligned with the upstream repo. Actually a
>> general issue with github web interface.
>>
>> I stumbled upon the "Fork Sync With Upstream" [1] github action few days
>> ago and implemented the workflow in my fork [2]. Having no git tool on the
>> main machines I work with, it's something I began to use and I see this as
>> an easy opportunity to quickly be inline with upstream and contribute
>> directly from within github website (and avoid those patch-xxx branches).
>> Some runs at [3](*).
>>
>> Could this be of a greater interest, and something to set up in our repo
>> (don't know how and I'm not a github actions guru)?
>>
>> (*) it works well on my qgis docs repo [4]. For the code repo, it works
>> nicely with release-* but fails on master due to some workflows permission.
>> I also would like to run "pull --rebase" but no success, yet. Any help
>> would be more than welcome. Thanks.
>>
>> [0] https://www.youtube.com/watch?v=ckrAg6azip8
>> [1] https://github.com/marketplace/actions/fork-sync-with-upstream
>> [2] https://github.com/qgis/QGIS/compare/master...DelazJ:main2
>> [3] https://github.com/DelazJ/QGIS/actions/workflows/sync_branches.yml
>> [4]
>> https://github.com/DelazJ/QGIS-Documentation/actions/workflows/branchUpdates.yml
>>
>> Looking forward,
>>
>> Regards
>> Harrissou
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210322/e4dbee85/attachment-0001.html>


More information about the QGIS-Developer mailing list