Commit graph

50 commits

Author SHA1 Message Date
ac455983be Include documentation for Forgejo W2FM support
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2026-04-02 12:10:04 +05:30
8b5b9c7e78 Clarify ACLs and role in Gitlab migration procedure 2026-03-06 14:19:37 +01:00
e8676cdfa7 Pagure migration doc: add follow-up checklist based on ours
As we (Quality team) were doing our migrations to Forge, we came
up with a checklist and some supplemental migration tools. This
adds a slightly tweaked version of the checklist to the migration
doc as we think it will be helpful for all other teams.

See quality/tickets#836
for the original.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-11 08:37:23 -08:00
c9c866f781 Add tip admonition for access token registration
For many users, clicking a single link is more intuitive than clicking through
a series of menus.
2026-02-02 10:21:12 +00:00
e8ab12fb9b http-auth: make access token instructions chronological
You need an access token before you can clone/push to the repository, so
it makes more sense for that section to be first
2026-02-02 10:21:12 +00:00
Hristo Marinov
aa289a67e0 pagure_repository.adoc: Update screenshots
Fixes: forge/forge#293

Signed-off-by: Hristo Marinov <hricky@mail.bg>
2026-02-02 10:19:17 +00:00
Hristo Marinov
e244527c35 pagure_repository.adoc: Update AsciiDoc syntax
Signed-off-by: Hristo Marinov <hricky@mail.bg>
2026-02-02 10:19:17 +00:00
87e382f001 Update modules/ROOT/pages/requesting_new_org_or_team.adoc 2026-01-29 08:15:17 +00:00
b295a2c9fc docs: Add git-credential-libsecret as secure credential helper option
- Add Option A (simple store) and Option B (libsecret) for credential helpers
- Recommend libsecret for secure storage in GNOME Keyring/KDE Wallet
- Add installation and configuration instructions for libsecret
- Clarify that Access Token should be used as password, not FAS password
- Add link to official Git credentials documentation
2025-12-16 19:24:57 +10:00
5883305cdf add document about configuring nonbot webhook
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-11-17 17:42:33 +10:00
78d199b9af Update migrating issues deps script documentation.
Fixes the documentation clarifying what permissions to give the key.

also added note about how we can run the script for you using the
forgebot account.

Fixes #282

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-11-17 13:46:21 +10:00
e570eb397d fix incorrect procedure for enabling email notifications
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-11-13 20:40:36 +10:00
d3c810f79e Move FAS group naming standards to user documentation
The naming standards document is more relevant for users who are requesting
organizations and teams, rather than being admin-specific documentation.
Placed it after the 'Requesting a New Organization and/or Team' document
for better logical flow.
2025-11-11 12:26:54 +10:00
fb276a4077 Fix inconsistent naming example in org/team request docs
Changed example organization name from 'myawesomesig' to 'infra' to be
consistent with naming standards that discourage using '-sig' suffix in
organization names.

Updated all example text to use 'Fedora Infrastructure Team' as a more
realistic and clear example throughout the documentation.

Fixes: forge/forge#271
Reported-by: Gordon Messmer
2025-11-07 12:17:55 +10:00
5e9c1e761d Remove known issue documentation for user creation bug
The migrator bug that prevented users from being created properly has been
fixed. The workaround documentation and references are no longer needed.

Changes:
- Removed known_issue_cannot_create_user.adoc
- Removed reference from nav.adoc
- Removed reference from migration/pagure.adoc
2025-11-07 12:10:21 +10:00
4e838f2dbe Add document about email notifications
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-11-03 17:03:30 +10:00
22e06bfcf3 Update docs to reference forge.fp.o/forge/forge rather than codeberg
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-11-03 16:26:17 +10:00
f2b91d1212 Update admin SOPs with group mapping changes
fixes: https://codeberg.org/fedora/forgejo-deployment/issues/228

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-10-29 19:08:59 +10:00
3e14805572 Replace real usernames with fictional ones in email sync script sample output
- Change authenticated user from 'ryanlerch' to 'adminuser'
- Replace real usernames with fictional ones: dudemcpants, testermctesterson, fergieforge
- Use example.com and example.org domains instead of real email addresses
- Maintain educational value while protecting user privacy
- Sample still demonstrates all key script scenarios (successful updates, fasnotfound cases)
2025-10-28 13:23:00 +10:00
87fa8ed072 Add email sync doc 2025-10-28 09:28:38 +10:00
d6324ec303 Update README.md 2025-10-20 08:05:08 +00:00
827b557a91 Use “an” rather than “a” where applicable
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-10-10 13:19:21 +02:00
c063e7a0b8 Clarify Accounts vs. Forge, password vs. token
Fixes: https://codeberg.org/fedora/forgejo-deployment/issues/209

Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-10-10 13:18:04 +02:00
eeed6a452b Add team membership management documentation
- Document how team membership is managed through Fedora Accounts groups
- Explain why Forgejo UI team management is not used
- Provide step-by-step instructions for managing team membership
- Include important note about logout/login requirement for changes
- Add to User Documentation navigation
2025-10-06 08:23:40 +10:00
ab125abc9b Add organizations and teams mapping documentation
- Document relationship between Organizations and Teams in Fedora Forge
- Explain mapping from Pagure.io concepts to Forgejo structure
- Provide Rust organization migration example with standard FAS group naming
- Link to FAS Group Naming Standards for exception cases
- Add to User Documentation navigation
2025-10-06 07:59:26 +10:00
c61c013efb Add Fedora Accounts groups and Forge team naming documentation
- Document Fedora Accounts groups, Forge organizations, and team naming
- Explain that owners team is mandatory (Forgejo requirement), not specifically the Fedora Accounts group
- Document flexible team naming with examples (docs teams: quick-docs-writers, etc.)
- Document organization naming (no fedora- prefix, no -sig suffix)
- Document examples for council, releng, and docs organizations
- Document exception cases for reusing existing groups like council
2025-10-06 07:30:18 +10:00
5a5d256af6 Add known issue documentation for organization projects
Documents issue #139 where adding repository issues to organization-level projects fails silently when the Projects unit is disabled at the repository level. Includes problem description, symptoms, root cause, workaround steps, and upstream status with links to bug report and fix PR.
2025-10-02 19:19:18 +10:00
cd8ac39727 Add Issue and Pull Request Templates documentation
Comprehensive guide covering:
- Creating issue templates with YAML front matter
- Creating pull request templates (single template per repo)
- Issue template configuration with blank_issues_enabled and contact_links
- Form-based YAML templates with link to official docs
- Troubleshooting common template issues
2025-10-02 18:50:42 +10:00
9757024d20 Update organization profile page documentation 2025-09-24 15:12:02 +10:00
ac753246c1 Abstract shared migration tool access section to reduce duplication
- Created shared include file: partials/access_fedora_forge_migration_tool.adoc
- Updated pagure_repository.adoc to use shared section via include
- Updated pagure_private_tickets.adoc to use shared section via include
- Removed outdated steps from private tickets document
- Both documents now use consistent, up-to-date migration tool access steps

This eliminates code duplication and ensures both migration documents
stay in sync when the shared steps need to be updated.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-09-18 13:53:32 +10:00
5cacec1682 Rename Pagure migration images to descriptive filenames and crop screenshots
- Renamed migration_pagure_08.png to pagure_migration_new_migration_button.png
- Renamed migration_pagure_09.png to pagure_migration_select_pagure_source.png
- Renamed migration_pagure_10.png to pagure_migration_form_filled.png
- Renamed migration_pagure_11.png to pagure_migration_start_migration_button.png
- Renamed migration_pagure_12.png to pagure_migration_completion_success.png

- Cropped screenshots to remove empty space and unneeded bloat for cleaner documentation

Updated references in both pagure_repository.adoc and pagure_private_tickets.adoc
to use the new descriptive filenames that clearly indicate image content.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-09-18 13:43:34 +10:00
fb09e72a31 Fix xref link paths in Pagure migration overview
- Fix xref:pagure_repository.adoc to xref:migration/pagure_repository.adoc
- Fix xref:pagure_private_tickets.adoc to xref:migration/pagure_private_tickets.adoc
- Fix xref:github.adoc to xref:migration/github.adoc
- Fix xref:gitlab.adoc to xref:migration/gitlab.adoc

Resolves AsciiDoc build errors for missing xref targets in pagure.adoc

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-09-18 11:13:03 +10:00
789bd278a3 Add draft documentation warnings to all documentation files
- Add consistent draft warning to all non-migration documentation
- Warn users that documentation is in draft form and may not be fully tested
- Encourage users to verify procedures before use
- Request feedback on issues or inaccuracies
- Ensure consistent user experience across all documentation

This provides transparency about the current development status of the
Fedora Forge documentation and helps manage user expectations.
2025-09-18 01:05:34 +10:00
3e9b15c90d Split Pagure migration documentation and improve structure
- Split original Pagure migration doc into three documents:
  - Overview document with migration options
  - Standard repository migration guide
  - Private tickets migration guide
- Add draft documentation warnings to all migration docs
- Correct API key usage warnings (only needed for private tickets)
- Update navigation to group Pagure migration docs together
- Move issue dependencies migration under Pagure subsection
- Crop screenshots to remove unnecessary content
- Improve procedure formatting with headings and summaries
- Specify Pagure.io instance name for clarity
- Streamline API key creation steps with better instructions
2025-09-18 00:31:53 +10:00
c51d535130 Standardize documentation formatting and structure
- Fix heading levels across all documents (level 1 titles, level 2 sections)
- Convert procedure ordered lists to headings for better navigation
- Add procedure summaries to admin documentation
- Simplify ordered list formatting by removing unnecessary * formatting
- Update navigation to include new Pagure migration sub-documents

This improves consistency and usability across all Fedora Forge documentation.
2025-09-17 23:12:13 +10:00
dcc76b6749 Crop browser chrome from migration screenshots
- Remove top 80 pixels containing browser UI elements from all migration screenshots
- Process 41 screenshots total (12 Pagure, 18 GitHub, 11 GitLab)
- Reduce image dimensions from 960x1050 to 960x970 pixels
- Clean up images to focus on actual content being documented
2025-09-17 22:17:20 +10:00
0e0b305e52 Include the associated images with GitLab migration
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-09-17 21:19:11 +10:00
11f67c20db Establish and include GitLab migration documentation
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-09-17 21:19:08 +10:00
d8941f7ff7 Include the associated images with GitHub migration
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-09-17 21:12:05 +10:00
48603789b7 Establish and include GitHub migration documentation
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-09-17 21:11:32 +10:00
7b1b11dd44 Include the associated images with Pagure migration
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-09-16 10:14:46 +05:30
289504990d Establish and include Pagure migration documentation
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-09-16 10:14:38 +05:30
4ea51ddd68 Update known issue documentation with comprehensive script usage guide
- Expand automated workaround section with detailed installation and usage instructions
- Update dependencies from API-based to Selenium web automation packages
- Add browser setup requirements and Firefox installation instructions
- Include detailed explanation of how the update_users.py script works
- Correct Fedora group name from sysadmin-main to sysadmin-forge
- Add important notes about manual login and processing requirements
2025-09-15 18:56:15 +10:00
85afca1ff9 Add comprehensive guide for migrating issue dependencies from Pagure.io
- Add new documentation page for assign_and_depend.py script usage
- Cover installation, configuration, and usage with practical examples
- Include virtual environment setup and security best practices
- Update navigation to include the new migration guide
- Address critical post-migration step for restoring issue assignments and dependencies
2025-09-15 18:48:22 +10:00
775d9f5489 Update README with documentation overview and Fedora Forge-specific wording
- Add detailed description of repository contents including user docs, admin docs, migration guides, and known issues
- Update local preview section to use Fedora Forge-specific terminology instead of generic repository language
- Add link to official published documentation at docs.fedoraproject.org
- Remove outdated section about building whole Fedora Docs site locally
2025-09-15 18:13:21 +10:00
da918b86c0 Remove stub files and clean up navigation structure
- Remove user_docs.adoc and admin_docs.adoc stub files
- Update navigation to use plain section headings instead of stub file links
- Maintain same navigation structure with cleaner implementation
2025-09-15 13:45:42 +10:00
0b7ce2e5ef Add documentation for known login issue with Pagure migrator
- Add known_issue_cannot_create_user.adoc with comprehensive documentation
- Document manual and automated workarounds for affected user accounts
- Add link to fedora-infrastructure ticket tracker for reporting issues
- Update navigation to include new 'Known Issues' section

Resolves: https://codeberg.org/fedora/forgejo-deployment/issues/162
2025-09-15 13:36:00 +10:00
f7d1a16635 migrate documentation from wiki
This commit migrates five documents from the old Markdown-based wiki at
https://codeberg.org/fedora/fedoraforge_documentation/wiki to this
new AsciiDoc-based documentation.

The following documents were migrated:
- How to create an Organization Front Page
- How to Clone a Repository using HTTPS Authentication in Fedora Forge
- Creating a new Organization
- Creating a new Team
- Requesting a New Organization and/or Team
2025-09-12 15:05:13 +10:00
f4dbdaa234 Remove boilerplate, add first content
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-09-08 16:27:06 +10:00
ff17661917 Initial Import from Fedora Docs Template
https://gitlab.com/fedora/docs/templates/fedora-docs-template

Initial Commit

switch to Antora

Preview of the whole site

preview.sh: Allow preview.sh keep running for multiple build.sh calls

antora deletes and recreates public/ every time the docs are rebuilt;
mounting public/ directly meant that when build.sh, the existing nginx
container didn't see the new docs. Instead of mounting public/ directly
into the nginx default webroot, mount the parent directory at /antora,
and install a tiny nginx configuration file to point the webroot at the
right place.

fix preview.sh for macOS

Issue 3 - Check if sudo is really required to run docker

Provide better messages on the command line

deduplicate  and  in build.sh

Use podman as an option for local build/preview docs

The podman binary is an alternative to docker that might be used
by some people in preference. In this use case it's a drop in
replacement, we can just check for it, else we just use docker
as before.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

using podman on Fedora — root not required anymore

Add workaround for --directory flag breaking in preview.sh script

Closes #13.

authors example

Add LICENSE

It's oven not owen

Replace test == operator with =

The == operator of test (invoked as [) is a Bash extension.
Use the = operator of [POSIX test] for string equality.

[POSIX test]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>

Quote command substitution which may have spaces

If $(pwd) or $(uname -s) contain spaces, their output will undergo word
splitting and be passed as multiple arguments, which would cause the
programs receiving them to misbehave.  Avoid this by quoting.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>

Fix misspellings

build.sh: fix misspelling and replace tab with spaces

Some lines had tabs, others had spaces. Uniformizing for spaces.

Add proper partials and examples directories with usage notes

Fix typo in README

Update build script for Aarch64 and local antora installs

Fix if conditions in build.sh

Earlier comment removed quotation from around command substitions $().
This is not a good idea,
because if the substitution produces whitespace,
without the quotes, the result is not interpreted as a single string.

Pattern 'if [ $(uname) == "foo" ]'
is replaced with 'uname | grep -iwq foo' here.

Apart from following good shell scripting practices,
this commit fixes the problem where the script failed
if the current working directory's patch contained whitespace.

Fix the Linux docker branch of build.sh

There were multiple problems in the Linux docker branch of build.sh:

- Intendation was wrong
- There was a reference to undefined variable $runtime,
  leading to corrupted output.
- Output had strange linebreaks.

Fix intendation in build.sh error branch

Use `version: ~` in antora.yml

Antora 3 has deprecated `version: master`.
Replacing it with a current alternative.

Update configuration for Antora 3.0

Whitespace and formating cleanup

build.sh: Properly quote all variables

Fix overquoting for ${cmd}

Fixes:
```
$ ./build.sh

This build script is using Podman to run the build in an isolated environment.

antora: option '--html-url-extension-style <choice>' argument 'indexify site.yml' is invalid. Allowed choices are default, drop, indexify.
```

update antora playbook

add preview pages

remove indexify extension from args

build.sh: Fix overquoting again

Missed in 7d3a02b

add content related issue template

update antora config & CI workflow

Update and correct licensing information

site.yaml: Use indexify mode for URLs

Official Fedora docs use that extension thus keep using it for local
preview.

Fixes: https://gitlab.com/fedora/docs/templates/fedora-docs-template/-/issues/4

This reworks commit bca134e1c05d93db7acecacdfefc4afabd8a1223.

Improve .gitignore

The intent of existing .gitignore was to ignore some directories
at repository root.
Instead, it was ignoring any file or directory by given names,
anywhere in the tree.
Improve rules to only match the intended cases.

feat: add new builder script

feat(docsbuilder.sh): add MIT license

Fixes https://gitlab.com/fedora/docs/templates/fedora-docs-template/-/issues/5

docsbuilder: chmod a+x

Update README.md with docsbuilder command

Adding podman to the description.

docsbuilder: Use command to find binaries in PATH

Do not assume that commands are installed in a specific PATH and use
`command` instead to find them. This makes running this inside toolbox
works.

README: Re-add nginx.conf and update for osbuilder script

Use custom Antora image
2025-09-08 15:39:12 +10:00