Hi,
in the context of the master to main change [1], I would like to ask the change team for automatic migration from master to main for the following repository:
https://pagure.io/projects/fedora-docs/%2A
https://pagure.io/projects/fedora-docs-l10n/%2A
It basically requires:
* to change de default branch to "main" in https://pagure.io/fedora-docs/docs-fp-o/blob/prod/f/site.yml#_6
* to set "|branches: master" (master becomes the exception) |
|* change translate.fedoraproject.org projects setting|
| |
|Do we have documentation to update somewhere or other code to check? |
||
I don't see any additional changes to apply to translations-scripts, it's using the default branch without asking anything special to use specifically master.
I can remove some default values set to master in function names, but anyway the values are always set before calling the functions.
Have a nice day,
[1] https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main
On Mon, Dec 14, 2020 at 01:38:55PM +0100, Jean-Baptiste wrote:
Hi,
in the context of the master to main change [1], I would like to ask the change team for automatic migration from master to main for the following repository:
Sure, we can try and include them...
It basically requires:
- to change de default branch to "main" in
https://pagure.io/fedora-docs/docs-fp-o/blob/prod/f/site.yml#_6
- to set "|branches: master" (master becomes the exception)
|
|* change translate.fedoraproject.org projects setting|
| |
|Do we have documentation to update somewhere or other code to check? |
||
I don't see any additional changes to apply to translations-scripts, it's using the default branch without asking anything special to use specifically master.
Cool.
I can remove some default values set to master in function names, but anyway the values are always set before calling the functions.
ok.
Thanks!
kevin
On Sat, Dec 19, 2020 at 11:11:22AM -0800, Kevin Fenzi wrote:
On Mon, Dec 14, 2020 at 01:38:55PM +0100, Jean-Baptiste wrote:
Hi,
in the context of the master to main change [1], I would like to ask the change team for automatic migration from master to main for the following repository:
Sure, we can try and include them...
It basically requires:
- to change de default branch to "main" in
https://pagure.io/fedora-docs/docs-fp-o/blob/prod/f/site.yml#_6
- to set "|branches: master" (master becomes the exception)
|
|* change translate.fedoraproject.org projects setting|
| |
|Do we have documentation to update somewhere or other code to check? |
||
I don't see any additional changes to apply to translations-scripts, it's using the default branch without asking anything special to use specifically master.
Cool.
I can remove some default values set to master in function names, but anyway the values are always set before calling the functions.
So, we have not yet moved the fedora-docs/fedora-docs-i18n repos.
We did move a bunch of releng ones, including fedora-comps, and it's now failing on weblate. ;(
The translation was automatically locked due to following alerts: Could not merge the repository. Could not push the repository. Could not update the repository.
And indeed it uses 'master' in the repo. ;(
and I am not finding where to change it. ;(
Could you take a look? fedora-comps should be a easy test. Then, we can see what needs to be done on all the rest of them?
kevin
Le 2021-01-07 21:39, Kevin Fenzi a écrit :
So, we have not yet moved the fedora-docs/fedora-docs-i18n repos.
We did move a bunch of releng ones, including fedora-comps, and it's now failing on weblate. ;(
tl;dr: Fedora-comps is now fixed.
here is what we discussed on IRC, if someone have to do such actions:
We have to see Weblate projects as a group of one or many components each component has a link to a git repository
to change the git repo branch: go in the component, in settings, search for "Version control" and change the branch
to change the name of the component itself (for example, the component name is master and we want it to be main): * display name can be changed there: https://translate.fedoraproject.org/settings/fedora-comps/main/#basic * URL slug is in this page: https://translate.fedoraproject.org/projects/fedora-comps/main/ menu "Manage" then "rename"
have a nice day,
On Thu, Jan 07, 2021 at 10:26:23PM +0100, Jean-Baptiste Holcroft wrote:
Le 2021-01-07 21:39, Kevin Fenzi a écrit :
So, we have not yet moved the fedora-docs/fedora-docs-i18n repos.
We did move a bunch of releng ones, including fedora-comps, and it's now failing on weblate. ;(
tl;dr: Fedora-comps is now fixed.
Thanks much!
here is what we discussed on IRC, if someone have to do such actions:
We have to see Weblate projects as a group of one or many components each component has a link to a git repository
to change the git repo branch: go in the component, in settings, search for "Version control" and change the branch
to change the name of the component itself (for example, the component name is master and we want it to be main):
- display name can be changed there:
https://translate.fedoraproject.org/settings/fedora-comps/main/#basic
- URL slug is in this page:
https://translate.fedoraproject.org/projects/fedora-comps/main/ menu "Manage" then "rename"
have a nice day,
So, we still haven't changed the docs repos. I am planning now to do it on the 27th. Next week is mass rebuild and we don't want to interfere with that, and we can also re-use the script we are making to change src.fedoraproject.org ones to do these easily. Once that script is done we can do docs and I will let you know to adjust the weblate side. :)
kevin