Skip to content

Commit

Permalink
move mirrormanager and verify urls from --help to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
juhp committed Sep 15, 2023
1 parent 07ebf3f commit da49df8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ Usage: dl-fedora [--version] [-g|--gpg-keys] [--no-checksum | --checksum]
kde,lxde,lxqt,mate,soas,sway,xfce,silverblue,kinoite,onyx,
sericea} [default: workstation]

See <https://fedoraproject.org/wiki/Infrastructure/MirrorManager>
and also <https://fedoramagazine.org/verify-fedora-iso-file>.
See <https://github.com/juhp/dl-fedora/#readme>

Available options:
-h,--help Show this help text
Expand Down Expand Up @@ -98,6 +97,11 @@ Available options:
-a,--arch ARCH Specify arch [default: x86_64]
```

## References
See <https://fedoraproject.org/wiki/Infrastructure/MirrorManager>,
<https://admin.fedoraproject.org/mirrormanager/>,
and also <https://fedoramagazine.org/verify-fedora-iso-file>.

## Contribution
dl-fedora is distributed under the GPL license version 3 or later.

Expand Down
3 changes: 1 addition & 2 deletions src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ main = do
P.text ("RELEASE = " <> intercalate ", " ["release number", "respin", "rawhide", "test (Beta)", "stage (RC)", "eln", "c8s", "c9s"]),

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 128 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):
P.text "EDITION = " <> P.lbrace <> P.align (P.fillCat (P.punctuate P.comma (map (P.text . lowerEdition) [(minBound :: FedoraEdition)..maxBound])) <> P.rbrace) <> P.text " [default: workstation]" ,

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.2

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.4

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.10

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.6

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.8

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 9.4

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘text’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘lbrace’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘align’ (imported from Text.PrettyPrint.ANSI.Leijen):

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘fillCat’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘punctuate’

Check warning on line 129 in src/Main.hs

View workflow job for this annotation

GitHub Actions / Haskell GHC 8.6

In the use of ‘comma’ (imported from Text.PrettyPrint.ANSI.Leijen):
P.text "",
P.text "See <https://fedoraproject.org/wiki/Infrastructure/MirrorManager>",
P.text "and also <https://fedoramagazine.org/verify-fedora-iso-file>."
P.text "See <https://github.com/juhp/dl-fedora/#readme>"
]
sysarch <- readArch <$> cmd "rpm" ["--eval", "%{_arch}"]
simpleCmdArgsWithMods (Just version) (fullDesc <> header "Fedora iso downloader" <> progDescDoc pdoc) $
Expand Down

0 comments on commit da49df8

Please sign in to comment.