Docs localization migration from pagure.io to forge.fedoraproject.org #52

Open
opened 2026-02-19 17:59:00 +00:00 by peartown · 25 comments
Owner

A tracking issue for the migration of Docs localization repositories from pagure.io to the new Fedora Forge.

Progress of the migration is mostly recorded in the comments. If there was a need, another issue can be filed (and linked as dependency).

The plan is:

  • to migrate the repositories in an order of the Docs website site.yml file
  • to create the (migrated) repositories in the forge as (pull) mirrors of the repositories in pagure
  • to make changes of settings in the translation projects of the Fedora translation platform (Weblate)
  • to make changes to the translations-scripts
  • to make the repositories in the forge the authoritative source(s) for the Fedora Docs localization
  • to abandon the pagure repositories

List of (scheduled?) tasks:

  • migrate repositories from pagure to forge
    • create repo(s) as mirror(s)
    • remove mirroring settings
    • retire/close pagure's repos
  • stop the translation automation
    • infra ticket
    • announcement in Fedora Discussion
  • lock repositories in Weblate
    • inform translators in components
  • update translations-scripts
    • migrate the repo to TBD
  • change settings of repositories in Weblate
  • start the translation automation

Migrated repositories:

Pagure.io forge.fp.o content source
fedora-docs-l10n/asciidoc-keywords localization-docs/asciidoc-keywords
fedora-docs-l10n/ask-fedora-sops retired? https://pagure.io/Ask-Fedora-SOP-docs.git
fedora-docs-l10n/atomic-desktops (N/A) https://forge.fedoraproject.org/atomic-desktops/docs.git
fedora-docs-l10n/badges localization-docs/badges https://gitlab.com/fedora/websites-apps/fedora-badges/docs.git
fedora-docs-l10n/ci localization-docs/ci https://forge.fedoraproject.org/ci/docs.git
fedora-docs-l10n/commops localization-docs/commops https://forge.fedoraproject.org/commops/docs.git
fedora-docs-l10n/commops-design-assets localization-docs/commops-design-assets https://forge.fedoraproject.org/commops/docs.git
fedora-docs-l10n/commops-outreach-badges localization-docs/commops-outreach-badges https://forge.fedoraproject.org/commops/docs.git
fedora-docs-l10n/commops-teams localization-docs/commops-teams https://forge.fedoraproject.org/commops/docs.git
fedora-docs-l10n/community localization-docs/community https://gitlab.com/fedora/council/community-architecture.git
fedora-docs-l10n/containers localization-docs/containers https://github.com/containers/docs.git
fedora-docs-l10n/council localization-docs/council https://pagure.io/Fedora-Council/council-docs.git
fedora-docs-l10n/cpe localization-docs/cpe https://pagure.io/cpe/docs.git
fedora-docs-l10n/diversity-inclusion localization-docs/diversity-inclusion https://gitlab.com/fedora/dei/docs.git
fedora-docs-l10n/docs localization-docs/docs https://forge.fedoraproject.org/docs/site-frontpage.git
fedora-docs-l10n/docs-l10n localization-docs/docs-l10n https://pagure.io/fedora-docs/localization.git
fedora-docs-l10n/eln localization-docs/eln https://github.com/fedora-eln/eln-docs.git
fedora-docs-l10n/engineering localization-docs/engineering https://forge.fedoraproject.org/docs/site-frontpage.git
fedora-docs-l10n/fedora localization-docs/fedora https://forge.fedoraproject.org/docs/release-docs-home.git
fedora-docs-l10n/fedora-asahi-remix localization-docs/fedora-asahi-remix https://pagure.io/fedora-asahi/docs-site.git
fedora-docs-l10n/fedora-coreos localization-docs/fedora-coreos https://github.com/coreos/fedora-coreos-docs.git
fedora-docs-l10n/fedora-docs localization-docs/fedora-docs https://forge.fedoraproject.org/docs/team-docs.git
fedora-docs-l10n/fedora-docs-contributing localization-docs/fedora-docs-contributing https://forge.fedoraproject.org/docs/team-docs.git
fedora-docs-l10n/fedora-install-guide localization-docs/fedora-install-guie https://forge.fedoraproject.org/docs/install-guide.git
fedora-docs-l10n/fedora-join localization-docs/fedora-join https://forge.fedoraproject.org/join/docs.git
fedora-docs-l10n/fedora-kinoite localization-docs/fedora-kinoite atomic-desktops??
fedora-docs-l10n/fedora-magazine localization-docs/fedora-magazine https://pagure.io/fedora-magazine.git
fedora-docs-l10n/fedora-release-notes localization-docs/fedora-release-notes https://gitlab.com/fedora/docs/fedora-linux-documentation/release-notes.git
fedora-docs-l10n/fedora-silverblue localization-docs/fedora-silverblue atomic-desktops??
fedora-docs-l10n/fedora-system-administrators-guide localization-docs/fedora-linux-sysadmin-guide https://forge.fedoraproject.org/docs/sysadmin-guide.git
fedora-docs-l10n/fesco localization-docs/fesco https://pagure.io/fesco/fesco-docs.git
fedora-docs-l10n/flatpak localization-docs/flatpak https://pagure.io/fedora-docs/flatpak.git
fedora-docs-l10n/iot localization-docs/iot https://github.com/fedora-iot/iot-docs.git
fedora-docs-l10n/java-packaging-howto localization-docs/java-packaging-howto https://github.com/fedora-java/howto.git
fedora-docs-l10n/localization localization-docs/localization https://forge.fedoraproject.org/localization/docs.git
fedora-docs-l10n/mentored-projects localization-docs/mentored-projects https://forge.fedoraproject.org/mentored-projects/docs.git
fedora-docs-l10n/mindshare localization-docs/mindshare https://forge.fedoraproject.org/mindshare/docs.git
fedora-docs-l10n/mindshare-committee localization-docs/mindshare-committee https://forge.fedoraproject.org/mindshare/docs.git
fedora-docs-l10n/minimization localization-docs/minimization https://pagure.io/minimization.git
fedora-docs-l10n/modularity localization-docs/modularity https://pagure.io/fedora-docs/modularity.git
fedora-docs-l10n/neurofedora localization-docs/neurofedora https://forge.fedoraproject.org/neuro/docs.git
fedora-docs-l10n/package-maintainers localization-docs/package-maintainers https://pagure.io/fedora-docs/package-maintainer-docs.git
fedora-docs-l10n/packaging-guidelines localization-docs/packaging-guidelines https://pagure.io/packaging-committee.git
fedora-docs-l10n/program_management localization-docs/program_management https://forge.fedoraproject.org/operations/docs.git
fedora-docs-l10n/project localization-docs/project https://pagure.io/Fedora-Council/council-docs.git
fedora-docs-l10n/project-dashboard NOT USED anymore, aka 'Status Report(s)', see pages/index.pot
fedora-docs-l10n/qa-docs localization-docs/qa-docs https://forge.fedoraproject.org/quality/docs.git
fedora-docs-l10n/quick-docs localization-docs/quick-docs https://forge.fedoraproject.org/docs/quick-docs.git
fedora-docs-l10n/rawhide-gating localization-docs/rawhide-gating https://pagure.io/cpe/rawhide-gating-docs.git
fedora-docs-l10n/remix-building localization-docs/remix-building https://pagure.io/fedora-docs/remix-building.git
fedora-docs-l10n/taiga-docs-taiga probably NOT USED anymore
fedora-docs-l10n/teleirc-sig localization-docs/teleirc-sig rather STALE too, https://pagure.io/sig-teleirc/infrastructure.git
fedora-docs-l10n/websites localization-docs/websites https://gitlab.com/fedora/websites-apps/documentation.git
A tracking issue for the migration of [Docs localization](https://pagure.io/projects/fedora-docs-l10n/*) repositories from pagure.io to the new [Fedora Forge](https://forge.fedoraproject.org/localization-docs). Progress of the migration is mostly recorded in the comments. If there was a need, another issue can be filed (and linked as dependency). The plan is: - to migrate the repositories in an order of the Docs website [site.yml](https://gitlab.com/fedora/docs/docs-website/docs-fp-o/-/blob/prod/site.yml?ref_type=heads) file - to create the (migrated) repositories in the forge as (pull) mirrors of the repositories in pagure - to make changes of settings in the translation projects of the Fedora [translation platform](https://translate.fedoraproject.org) (Weblate) - to make changes to the [translations-scripts](https://pagure.io/fedora-docs/translations-scripts/tree/master) - to make the repositories in the forge the authoritative source(s) for the Fedora Docs localization - to abandon the pagure repositories List of (scheduled?) tasks: - [ ] migrate repositories from pagure to forge - [x] create repo(s) as mirror(s) - [ ] remove mirroring settings - [ ] retire/close pagure's repos - [ ] stop the translation automation - [x] infra ticket - [x] announcement in Fedora Discussion - [x] lock repositories in Weblate - [ ] inform translators in components - [ ] update translations-scripts - [ ] migrate the repo to TBD - [ ] change settings of repositories in Weblate - [ ] start the translation automation Migrated repositories: | Pagure.io | forge.fp.o | content source | |-----------|-----------|-----------------| | fedora-docs-l10n/asciidoc-keywords | localization-docs/asciidoc-keywords || | fedora-docs-l10n/ask-fedora-sops | retired? | https://pagure.io/Ask-Fedora-SOP-docs.git | | fedora-docs-l10n/atomic-desktops (N/A) || https://forge.fedoraproject.org/atomic-desktops/docs.git | | fedora-docs-l10n/badges | localization-docs/badges | https://gitlab.com/fedora/websites-apps/fedora-badges/docs.git | | fedora-docs-l10n/ci | localization-docs/ci | https://forge.fedoraproject.org/ci/docs.git | | fedora-docs-l10n/commops | localization-docs/commops | https://forge.fedoraproject.org/commops/docs.git | | fedora-docs-l10n/commops-design-assets | localization-docs/commops-design-assets | https://forge.fedoraproject.org/commops/docs.git | | fedora-docs-l10n/commops-outreach-badges | localization-docs/commops-outreach-badges | https://forge.fedoraproject.org/commops/docs.git | | fedora-docs-l10n/commops-teams | localization-docs/commops-teams | https://forge.fedoraproject.org/commops/docs.git | | fedora-docs-l10n/community | localization-docs/community | https://gitlab.com/fedora/council/community-architecture.git | | fedora-docs-l10n/containers | localization-docs/containers | https://github.com/containers/docs.git | | fedora-docs-l10n/council | localization-docs/council | https://pagure.io/Fedora-Council/council-docs.git | fedora-docs-l10n/cpe | localization-docs/cpe | https://pagure.io/cpe/docs.git | | fedora-docs-l10n/diversity-inclusion | localization-docs/diversity-inclusion | https://gitlab.com/fedora/dei/docs.git | | fedora-docs-l10n/docs | localization-docs/docs | https://forge.fedoraproject.org/docs/site-frontpage.git | | fedora-docs-l10n/docs-l10n | localization-docs/docs-l10n | https://pagure.io/fedora-docs/localization.git | | fedora-docs-l10n/eln | localization-docs/eln | https://github.com/fedora-eln/eln-docs.git | | fedora-docs-l10n/engineering | localization-docs/engineering | https://forge.fedoraproject.org/docs/site-frontpage.git | | fedora-docs-l10n/fedora | localization-docs/fedora | https://forge.fedoraproject.org/docs/release-docs-home.git | | fedora-docs-l10n/fedora-asahi-remix | localization-docs/fedora-asahi-remix | https://pagure.io/fedora-asahi/docs-site.git | | fedora-docs-l10n/fedora-coreos | localization-docs/fedora-coreos | https://github.com/coreos/fedora-coreos-docs.git | | fedora-docs-l10n/fedora-docs | localization-docs/fedora-docs | https://forge.fedoraproject.org/docs/team-docs.git | | fedora-docs-l10n/fedora-docs-contributing | localization-docs/fedora-docs-contributing | https://forge.fedoraproject.org/docs/team-docs.git | | fedora-docs-l10n/fedora-install-guide | localization-docs/fedora-install-guie | https://forge.fedoraproject.org/docs/install-guide.git | | fedora-docs-l10n/fedora-join | localization-docs/fedora-join | https://forge.fedoraproject.org/join/docs.git | | fedora-docs-l10n/fedora-kinoite | localization-docs/fedora-kinoite | atomic-desktops?? | | fedora-docs-l10n/fedora-magazine | localization-docs/fedora-magazine | https://pagure.io/fedora-magazine.git | | fedora-docs-l10n/fedora-release-notes | localization-docs/fedora-release-notes | https://gitlab.com/fedora/docs/fedora-linux-documentation/release-notes.git | | fedora-docs-l10n/fedora-silverblue | localization-docs/fedora-silverblue | atomic-desktops?? | | fedora-docs-l10n/fedora-system-administrators-guide | localization-docs/fedora-linux-sysadmin-guide | https://forge.fedoraproject.org/docs/sysadmin-guide.git | | fedora-docs-l10n/fesco | localization-docs/fesco | https://pagure.io/fesco/fesco-docs.git | | fedora-docs-l10n/flatpak | localization-docs/flatpak | https://pagure.io/fedora-docs/flatpak.git | | fedora-docs-l10n/iot | localization-docs/iot | https://github.com/fedora-iot/iot-docs.git | | fedora-docs-l10n/java-packaging-howto | localization-docs/java-packaging-howto | https://github.com/fedora-java/howto.git | | fedora-docs-l10n/localization | localization-docs/localization | https://forge.fedoraproject.org/localization/docs.git | | fedora-docs-l10n/mentored-projects | localization-docs/mentored-projects | https://forge.fedoraproject.org/mentored-projects/docs.git | | fedora-docs-l10n/mindshare | localization-docs/mindshare | https://forge.fedoraproject.org/mindshare/docs.git | | fedora-docs-l10n/mindshare-committee | localization-docs/mindshare-committee | https://forge.fedoraproject.org/mindshare/docs.git | | fedora-docs-l10n/minimization | localization-docs/minimization | https://pagure.io/minimization.git | | fedora-docs-l10n/modularity | localization-docs/modularity | https://pagure.io/fedora-docs/modularity.git | | fedora-docs-l10n/neurofedora | localization-docs/neurofedora | https://forge.fedoraproject.org/neuro/docs.git | | fedora-docs-l10n/package-maintainers | localization-docs/package-maintainers | https://pagure.io/fedora-docs/package-maintainer-docs.git | | fedora-docs-l10n/packaging-guidelines | localization-docs/packaging-guidelines | https://pagure.io/packaging-committee.git | | fedora-docs-l10n/program_management | localization-docs/program_management | https://forge.fedoraproject.org/operations/docs.git | | fedora-docs-l10n/project | localization-docs/project | https://pagure.io/Fedora-Council/council-docs.git | | fedora-docs-l10n/project-dashboard | | NOT USED anymore, aka 'Status Report(s)', see pages/index.pot | | fedora-docs-l10n/qa-docs | localization-docs/qa-docs | https://forge.fedoraproject.org/quality/docs.git | | fedora-docs-l10n/quick-docs | localization-docs/quick-docs | https://forge.fedoraproject.org/docs/quick-docs.git | | fedora-docs-l10n/rawhide-gating | localization-docs/rawhide-gating | https://pagure.io/cpe/rawhide-gating-docs.git | | fedora-docs-l10n/remix-building | localization-docs/remix-building | https://pagure.io/fedora-docs/remix-building.git | fedora-docs-l10n/taiga-docs-taiga | | probably NOT USED anymore | | fedora-docs-l10n/teleirc-sig | localization-docs/teleirc-sig | rather STALE too, https://pagure.io/sig-teleirc/infrastructure.git | | fedora-docs-l10n/websites | localization-docs/websites | https://gitlab.com/fedora/websites-apps/documentation.git |
Author
Owner

The plan is, of course, a subject of a discussion and/or modification.

The plan is, of course, a subject of a discussion and/or modification.
Owner

there is a ticket to open for infrastructure team to stop the current automation system. I will open it and link it to this ticket.
I will have to migrate the script by opening a pull request on https://pagure.io/fedora-docs/translations-scripts/ (should we migrate this repository first?)

I suggest to lock all docs repositories in Weblate until our migration is done, and publish a message on top of each components linking to #52 (without sending email to users, we don't want to spam them ;))

after each repository migration, we can remove the message and unlock the repository

there is a ticket to open for infrastructure team to stop the current automation system. I will open it and link it to this ticket. I will have to migrate the script by opening a pull request on https://pagure.io/fedora-docs/translations-scripts/ (should we migrate this repository first?) I suggest to lock all docs repositories in Weblate until our migration is done, and publish a message on top of each components linking to #52 (without sending email to users, we don't want to spam them ;)) after each repository migration, we can remove the message and unlock the repository
Author
Owner

Is it meant that we want have translation-scripts under localization-docs (not docs) in the forge?

I thought if the repositories would be mirroring the ones in pagure, we could wait with the locking repos in Weblate and the locks could not last long. The translation will be present in both forgejo and pagure. But I have no strong opinion here. It would resemble a 'big bang' approach. On the other hand, when we make locks in Weblate, we can 'a pilot' or 'POC' any one selected repository and see if everything in the chain (source -script - pot/po - script - translated sources) works. And if it works we can remove the lock for the repository.

I have to warn that I might not be very quick with preparing the repositories in either forge and Weblate. ;)

I am also not sure if I will be able to create the mirrors without authentization (permissions) to the pagure's fedora-docs-l10n repositories.

Is it meant that we want have translation-scripts under `localization-docs` (not `docs`) in the forge? I thought if the repositories would be mirroring the ones in pagure, we could wait with the locking repos in Weblate and the locks could not last long. The translation will be present in both forgejo and pagure. But I have no strong opinion here. It would resemble a 'big bang' approach. On the other hand, when we make locks in Weblate, we can 'a pilot' or 'POC' any one selected repository and see if everything in the chain (source -script - pot/po - script - translated sources) works. And if it works we can remove the lock for the repository. I have to warn that I might not be very quick with preparing the repositories in either forge and Weblate. ;) I am also not sure if I will be able to create the mirrors without authentization (permissions) to the pagure's fedora-docs-l10n repositories.
Member

It is possible to pull from Pagure to Forgejo without permissions, but to push back indeed requires privileges. See Pulling from a remote repository, and the following section, from Forgejo docs.

It is possible to pull from Pagure to Forgejo without permissions, but to push back indeed requires privileges. See [Pulling from a remote repository](https://forgejo.org/docs/v11.0/user/repo-mirror/#pulling-from-a-remote-repository), and the following section, from Forgejo docs.
Author
Owner

I hope we do not need to push, at least for now.

I hope we do not need to push, at least for now.
Author
Owner

@jibecfed wrote in #52 (comment):

I will have to migrate the script by opening a pull request on https://pagure.io/fedora-docs/translations-scripts/ (should we migrate this repository first?)

Sorry, I have read this again now. I misunderstood before, I guess. You speak about migration by a pull request. So now I assume the repository will finally stay under the docs org (namespace) - under the Docs team responsibility. And you will use PR to adapt the scripts as they will work with our migrated repositories under the localization-docs...?

Originally, my idea was that we will create (migrate) all the pagure.io/projects/fedora-docs-l10n repositories to the forge.fp.o/localization-docs and make them mirroring the ones (old) in pagure. And we could work in the 'background' on the changes, while the translation automation would not have to be stopped for the Docs website. But today I have doubts that we can migrate the repositories to the forge and make them mirrors of the pagure ones. So, maybe, we will have to stop the translation automation and change the translations-scripts first, as you suggested. Then migrate repositories 'normally' and work further on the changes in the repositories and weblate. After we will have everything ready, then restart the translation automation.

@jibecfed wrote in https://forge.fedoraproject.org/localization/tickets/issues/52#issuecomment-537211: > I will have to migrate the script by opening a pull request on https://pagure.io/fedora-docs/translations-scripts/ (should we migrate this repository first?) Sorry, I have read this again now. I misunderstood before, I guess. You speak about migration by a pull request. So now I assume the repository will finally stay under the `docs` org (namespace) - under the Docs team responsibility. And you will use PR to adapt the scripts as they will work with `our` migrated repositories under the `localization-docs`...? Originally, my idea was that we will create (migrate) all the pagure.io/projects/fedora-docs-l10n repositories to the forge.fp.o/localization-docs and make them mirroring the ones (old) in pagure. And we could work in the 'background' on the changes, while the translation automation would not have to be stopped for the Docs website. But today I have doubts that we can migrate the repositories to the forge and make them mirrors of the pagure ones. So, maybe, we will have to stop the translation automation and change the translations-scripts first, as you suggested. Then migrate repositories 'normally' and work further on the changes in the repositories and weblate. After we will have everything ready, then restart the translation automation.
Author
Owner

This is a draft of the announcement which could be published in the Fedora Discussion announcements category. It could also serve as a base for information on the Weblate. Comments, suggestions.... are welcome.


Fedora Documentation translations are not available

Fedora Documentation translations are put on hold as the Fedora Localization Team has started the process of migration from pagure.io to the Fedora Forge. Translation projects of the documentation are locked on the Fedora translation platform. No translation updates can be found in languages on the Fedora Documentation.

The migration involves all repositories which support and ensure the availability of translations of the Fedora Documentation. There is no possibility the migration can be performed 'on the fly' as changes in the repositories, related scripts and continuous integration with the translation platform cannot be dealt with independently. Therefore the translation process of the Fedora Documentation is kept on hold.

We regrettably ask the Fedora contributors, our translation community, to pull back from translating of the Fedora Documentation and wait till the translation automation of the documentation is resumed again.

The progress of migration can be followed in the localization tracker as issue #52.

This is a draft of the announcement which could be published in the Fedora Discussion announcements category. It could also serve as a base for information on the Weblate. Comments, suggestions.... are welcome. ---- Fedora Documentation translations are not available [Fedora Documentation](https://docs.fedoraproject.org) translations are put on hold as the Fedora Localization Team has started the process of migration from pagure.io to the [Fedora Forge](https://forge.fedoraproject.org). Translation projects of the documentation are locked on the [Fedora translation platform](https://translate.fedoraproject.org). No translation updates can be found in languages on the Fedora Documentation. The migration involves all [repositories](pagure.io/projects/fedora-docs-l10n/*) which support and ensure the availability of translations of the Fedora Documentation. There is no possibility the migration can be performed 'on the fly' as changes in the repositories, related scripts and continuous integration with the translation platform cannot be dealt with independently. Therefore the translation process of the Fedora Documentation is kept on hold. We regrettably ask the Fedora contributors, our translation community, to pull back from translating of the Fedora Documentation and wait till the translation automation of the documentation is resumed again. The progress of migration can be followed in the localization tracker as issue [#52](https://forge.fedoraproject.org/localization/tickets/issues/52).
Author
Owner

To migrate a repository from pagure to the forge so as the (new) migrated repository in the forge is a (pull] mirror of the (old) one repository in the pagure:

  1. Select New Migration in the Create… menu on the top right.
  2. Select the Git (first option) remote repository service. (Do not select Pagure.)
  3. Enter a repository URL.
  4. Check the box This repository will be a mirror.
  5. Select Migrate repository to save the configuration.
To migrate a repository from pagure to the forge so as the (new) migrated repository in the forge is a (pull] mirror of the (old) one repository in the pagure: 1. Select New Migration in the Create… menu on the top right. 2. Select the Git (first option) remote repository service. (Do not select Pagure.) 3. Enter a repository URL. 4. Check the box This repository will be a mirror. 5. Select Migrate repository to save the configuration.
Author
Owner

All repositories from pagure created in the forge - as mirrors; the aim was to preserve the history of changes which can occur before we finally are ready to run translation automation using the (new) repos, thus to make the necessary locking translations in weblate as short as possible.

All repositories from pagure created in the forge - as mirrors; the aim was to preserve the history of changes which can occur before we finally are ready to run translation automation using the (new) repos, thus to make the necessary locking translations in weblate as short as possible.
Owner

I migrated a few docs repositories to forgejo (only those related to translations)

https://pagure.io/fedora-docs/localization
migrated as https://forge.fedoraproject.org/docs/localization-stats

https://pagure.io/fedora-docs/translations-scripts
migrated as https://forge.fedoraproject.org/docs/translations-scripts

https://pagure.io/fedora-docs/translated-sources/
migrated as https://forge.fedoraproject.org/docs/translated-sources

I created a request to infrastructure team to change the current automation to use these new repositories: infra/tickets#13171

I migrated a few docs repositories to forgejo (only those related to translations) https://pagure.io/fedora-docs/localization migrated as https://forge.fedoraproject.org/docs/localization-stats https://pagure.io/fedora-docs/translations-scripts migrated as https://forge.fedoraproject.org/docs/translations-scripts https://pagure.io/fedora-docs/translated-sources/ migrated as https://forge.fedoraproject.org/docs/translated-sources I created a request to infrastructure team to change the current automation to use these new repositories: https://forge.fedoraproject.org/infra/tickets/issues/13171
Member

Before the automation is changed to Fedora Forge repositories, i think we should 1) lock doc projects, 2) make sure forge repositories are updated by git-pulling changes from respective Pagure repository, 3) leave the projects locked (?)

Before the automation is changed to Fedora Forge repositories, i think we should 1) lock doc projects, 2) make sure forge repositories are updated by git-pulling changes from respective Pagure repository, 3) leave the projects locked (?)
Author
Owner

We could also make some repos cleaning - removing unused, renaming...

I will write (hopefully today) my idea into an separate issue so you can voice your opinion if yes or no, and if as a part of the migration or leave it rather after.

We could also make some repos cleaning - removing unused, renaming... I will write (hopefully today) my idea into an separate issue so you can voice your opinion if yes or no, and if as a part of the migration or leave it rather after.
Member

@jibecfed I'm working on updating translation-scripts README, and one step is to add a fedmsg hook. This is straightforward in Pagure, but how does this apply in Forgejo?

@jibecfed I'm working on updating translation-scripts README, and one step is to add a fedmsg hook. This is straightforward in Pagure, but how does this apply in Forgejo?
Owner

I don't see anything related to fedmesg hook on https://docs.fedoraproject.org/en-US/forge-documentation/
I suggest to open an issue to get the info https://forge.fedoraproject.org/forge/forge/ (and maybe help them by updating the doc)
Wild guess: this is by default and there is nothing to do.

I don't see anything related to fedmesg hook on https://docs.fedoraproject.org/en-US/forge-documentation/ I suggest to open an issue to get the info https://forge.fedoraproject.org/forge/forge/ (and maybe help them by updating the doc) Wild guess: this is by default and there is nothing to do.
Owner

@peartown wrote in #52 (comment):

We could also make some repos cleaning - removing unused, renaming...

I will write (hopefully today) my idea into an separate issue so you can voice your opinion if yes or no, and if as a part of the migration or leave it rather after.

I suggest you keep track of weird things in https://fedoraproject.org/wiki/L10N/Forgejo or in the first message of this ticket
We'll handle it after we are done with the technical migration

@peartown wrote in https://forge.fedoraproject.org/localization/tickets/issues/52#issuecomment-561760: > We could also make some repos cleaning - removing unused, renaming... > > I will write (hopefully today) my idea into an separate issue so you can voice your opinion if yes or no, and if as a part of the migration or leave it rather after. I suggest you keep track of weird things in https://fedoraproject.org/wiki/L10N/Forgejo or in the first message of this ticket We'll handle it after we are done with the technical migration
Author
Owner

Tomorrow the post in Community Blog will be published.

I intend to start locking the projects/components in Weblate on Wednesday and place a short notice for the translators with link to the post. After I lock a project I would like to work on its configuration changes (in Weblate and forge). And go project by project.

I would be grateful if you (Rafael?) could supervise my work/changes. ;)

Tomorrow the post in Community Blog will be published. I intend to start locking the projects/components in Weblate on Wednesday and place a short notice for the translators with link to the post. After I lock a project I would like to work on its configuration changes (in Weblate and forge). And go project by project. I would be grateful if you (Rafael?) could supervise my work/changes. ;)
Member

I would be grateful if you (Rafael?) could supervise my work/changes. ;)

Sure.

The steps are, basically:

  1. Browse the project (not a component)
  2. Go to Operations > Repository maintenance
  3. If there is at least one component locked already, make note to lock it again later. If an alert caused it to be locked, wouldn't be good to keep unlocked and the problem getting worse.
  4. Lock the project up

How about add an announce about this? It could be to the whole Fedora Weblate instance like "Fedora docs translation projects are locked due to on-going migration to Fedora Forge. See <link to blog post>"

> I would be grateful if you (Rafael?) could supervise my work/changes. ;) Sure. The steps are, basically: 1. Browse the project (not a component) 2. Go to Operations > Repository maintenance 3. If there is at least one component locked already, make note to lock it again later. If an alert caused it to be locked, wouldn't be good to keep unlocked and the problem getting worse. 4. Lock the project up How about add an announce about this? It could be to the whole Fedora Weblate instance like "Fedora docs translation projects are locked due to on-going migration to Fedora Forge. See \<link to blog post>"
Author
Owner

It could be to the whole Fedora Weblate instance like "Fedora docs translation projects are locked due to on-going migration to Fedora Forge. See "

Exactly, something like this I had in my mind. 👍

> It could be to the whole Fedora Weblate instance like "Fedora docs translation projects are locked due to on-going migration to Fedora Forge. See <link to blog post>" Exactly, something like this I had in my mind. 👍
Member

We might need to set push from mirror to Pagure, or remove mirror setting.

See error from https://translate.fedoraproject.org/projects/fedora-docs-l10n-project/nav/:

Could not push fedora-docs-l10n/project/nav: remote: mirror repository is read-only fatal: unable to access 'https://forge.fedoraproject.org/localization-docs/project.git/': The requested URL returned error: 403 (128)

See issue comment in https://github.com/go-gitea/gitea/issues/7609:

You cannot push to mirrored repositories. You will either need to fork the mirror and update the fork from the mirror intermittently manually, or, you need to push to the upstream.

If we allow pushes to mirrors and a conflicting change from upstream occurs what is supposed to happen?

I assume setting push would solve the read-only status.

We might need to set push from mirror to Pagure, or remove mirror setting. See error from https://translate.fedoraproject.org/projects/fedora-docs-l10n-project/nav/: > Could not push fedora-docs-l10n/project/nav: remote: mirror repository is read-only fatal: unable to access 'https://forge.fedoraproject.org/localization-docs/project.git/': The requested URL returned error: 403 (128) See issue comment in https://github.com/go-gitea/gitea/issues/7609: > You cannot push to mirrored repositories. You will either need to fork the mirror and update the fork from the mirror intermittently manually, or, you need to push to the upstream. > > If we allow pushes to mirrors and a conflicting change from upstream occurs what is supposed to happen? I assume setting push would solve the read-only status.
Author
Owner

Yes, it was expected. I have chosen between having to remove the mirror setting in the forge, or to pull from pagure to forge in the moment of migration. Purpose of the mirroring was to retain the history and a sync'd state.

I would not keep pagure in sync after, ie. mirroring from forge to pagure. Am I not seeing anything...? :)

Yes, it was expected. I have chosen between having to remove the mirror setting in the forge, or to pull from pagure to forge in the moment of migration. Purpose of the mirroring was to retain the history and a sync'd state. I would not keep pagure in sync after, ie. mirroring from forge to pagure. Am I not seeing anything...? :)
Author
Owner

All translation projects locked in Weblate, except fedora-docs-l10n/release-notes. I tried (twice) to push over 1300 outgoing commits, but it failed. So I am not sure what to do with the project/repositories.

localization-docs/project repository is transferred to a normal repository (mirroring setting removed) in the forge. I also added the gitea webhook for it. But we are probably not able to push changes from Weblate into it, unless jibec logs in to the forge as weblatebot, then weblatebot should be synced/added as a member to localization-docs.

All translation projects locked in Weblate, except fedora-docs-l10n/release-notes. I tried (twice) to push over 1300 outgoing commits, but it failed. So I am not sure what to do with the project/repositories. localization-docs/project repository is transferred to a normal repository (mirroring setting removed) in the forge. I also added the gitea webhook for it. But we are probably not able to push changes from Weblate into it, unless jibec logs in to the forge as weblatebot, then weblatebot should be synced/added as a member to localization-docs.
Member

weblatebot is not listed as a member in https://forge.fedoraproject.org/org/localization-docs/teams/members, which might explain why we're getting access denied:

Could not push fedora-docs-l10n/project/nav: remote: remote: Forgejo: User permission denied for writing. To https://forge.fedoraproject.org/localization-docs/project.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://forge.fedoraproject.org/localization-docs/project.git' (1)

weblatebot is not listed as a member in https://forge.fedoraproject.org/org/localization-docs/teams/members, which might explain why we're getting access denied: > Could not push fedora-docs-l10n/project/nav: remote: remote: Forgejo: User permission denied for writing. To https://forge.fedoraproject.org/localization-docs/project.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://forge.fedoraproject.org/localization-docs/project.git' (1)
Member

To confirm my previous message, I manually added weblatebot as member of https://forge.fedoraproject.org/localization-docs/project (Settings > Collaborators > Add collaborator weblatebot) and the translation push worked just fine. I removed it as this was a simple test.

To confirm my previous message, I manually added weblatebot as member of https://forge.fedoraproject.org/localization-docs/project (Settings > Collaborators > Add collaborator weblatebot) and the translation push worked just fine. I removed it as this was a simple test.
Author
Owner

for reference: forge/forge#448

for reference: forge/forge#448
Author
Owner

for reference:
Gitea credentials in Fedora Weblate - https://care.weblate.org/#ticket/zoom/12178
Issue for Forgejo hook, pull requests and documentation - https://github.com/WeblateOrg/weblate/issues/18453

for reference: Gitea credentials in Fedora Weblate - https://care.weblate.org/#ticket/zoom/12178 Issue for Forgejo hook, pull requests and documentation - https://github.com/WeblateOrg/weblate/issues/18453
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
localization/tickets#52
No description provided.