From Fedora Project Wiki
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{admon/warning|Outdated page|This page was created and maintained to track the packaging status for hugo. Hugo reached rawhide in the begining of f28 development cycle and shall be available in releases greater or equal f28. We decided to keep this page for further reference in case we need to package some other project with several dependencies, like hugo. }}
We want to package Hugo in Fedora. This page is a list with all the efforts needed to achieve that.
We want to package Hugo in Fedora. This page is a list with all the efforts needed to achieve that.


Line 11: Line 13:
== TODO ==
== TODO ==


* golang-github-yosssi-ace needs to be updated: Hugo uses ace.CompileResultWithTemplate which is not available in the latest tag. Maybe we should ask upstream to release a new version.
=== Packages needing to be updated ===
* golang-github-spf13-viper and golang-github-spf13-cast need to be updated to use the lowercase version of jww
* the latest build of jww in koji does not seem to be available (we need to chack that)
* Hugo still FTBFS in COPR


== Dependencies ==
== Dependencies ==
Line 23: Line 22:
! Package name !! Status !! WhatRequires
! Package name !! Status !! WhatRequires
|-
|-
| golang-github-fortytw2-leaktest || [https://bugzilla.redhat.com/show_bug.cgi?id=1394923 Review request] || hugo
| golang-github-fortytw2-leaktest || PACKAGED || hugo
|-
| golang-github-PuerkitoBio-purell || PACKAGED || hugo
|-
|-
| golang-github-PuerkitoBio-purell || [https://bugzilla.redhat.com/show_bug.cgi?id=1394576 Review request] || hugo
| golang-github-PuerkitoBio-urlesc || PACKAGED || golang-github-PuerkitoBio-purell
|-
|-
| golang-github-PuerkitoBio-urlesc || [https://bugzilla.redhat.com/show_bug.cgi?id=1206883 BUG: namespace changed] || golang-github-PuerkitoBio-purell
| golang-github-bep-gitmap || PACKAGED || hugo
|-
|-
| golang-github-bep-gitmap || [https://bugzilla.redhat.com/show_bug.cgi?id=1426987 Review request] - [https://fedoraproject.org/wiki/User:Fredlima fredlima]  || hugo
| golang-github-bep-inflect || PACKAGED || hugo
|-
|-
| golang-github-bep-inflect || [https://bugzilla.redhat.com/show_bug.cgi?id=1426851 Review request] || hugo
| golang-github-chaseadamsio-goorgeous || PACKAGED || hugo
|-
|-
| golang-github-chaseadamsio-goorgeous || [https://bugzilla.redhat.com/show_bug.cgi?id=1426954 Review request] || hugo
| golang-github-dchest-cssmin || PACKAGED || hugo
|-
|-
| golang-github-dchest-cssmin || [https://bugzilla.redhat.com/show_bug.cgi?id=1206877 Review request] || hugo
| golang-github-eknkc-amber || PACKAGED || hugo
|-
|-
| golang-github-eknkc-amber || [https://bugzilla.redhat.com/show_bug.cgi?id=1206879 Review request] || hugo
| golang-github-fsnotify-fsnotify || PACKAGED  || hugo
|-
|-
| golang-github-fsnotify-fsnotify || [https://bugzilla.redhat.com/show_bug.cgi?id=1426949 Review request] - [https://fedoraproject.org/wiki/User:Fredlima fredlima]  || hugo
| golang-github-kardianos-osext || PACKAGED as golang-bitbucket-kardianos-osext-devel || hugo
|-
|-
| golang-github-kardianos-osext || [https://bugzilla.redhat.com/show_bug.cgi?id=1297545 Review request] || hugo
| golang-github-kyokomi-emoji || PACKAGED || hugo
|-
|-
| golang-github-kyokomi-emoji || [https://bugzilla.redhat.com/show_bug.cgi?id=1344936 Review request] || hugo
| golang-github-miekg-mmark || PACKAGED || hugo
|-
|-
| golang-github-miekg-mmark || [https://bugzilla.redhat.com/show_bug.cgi?id=1426964 Review request] - [https://fedoraproject.org/wiki/User:Fredlima fredlima] || hugo
| golang-github-nicksnyder-go-i18n || PACKAGED || hugo
|-
|-
| golang-github-nicksnyder-go-i18n || [https://bugzilla.redhat.com/show_bug.cgi?id=1426965 Review request] || hugo
| golang-github-spf13-fsync || PACKAGED || hugo
|-
|-
| golang-github-spf13-fsync || [https://bugzilla.redhat.com/show_bug.cgi?id=1426885 Review request] - [https://fedoraproject.org/wiki/User:Fredlima fredlima] || hugo
| golang-github-spf13-jwalterweatherman || PACKAGED || hugo
|-
|-
| golang-github-spf13-jwalterweatherman || PACKAGED - [https://bugzilla.redhat.com/show_bug.cgi?id=1427336 BUG: cammelCase on namespace] || hugo
| golang-github-spf13-nitro || PACKAGED || hugo
|-
|-
| golang-github-spf13-nitro || [https://bugzilla.redhat.com/show_bug.cgi?id=1395368 Review request] || hugo
| golang-github-yosssi-ace || PACKAGED || hugo
|-
|-
| golang-github-yosssi-ace || [https://bugzilla.redhat.com/show_bug.cgi?id=1345887 Review request] || hugo
| golang-github-yosssi-gohtml || PACKAGED || golang-github-yosssi-ace
|-
|-
| golang-github-mitchellh-mapstructure || PACKAGED || hugo
| golang-github-mitchellh-mapstructure || PACKAGED || hugo
Line 80: Line 81:
|-
|-
|}
|}
== Fedora Golang ==
While packaging hugo, we found a few problems in some packages not related to hugo. Here is a list with things we want to help fixing or need to report:
* gofed generates changelog missing a \n
* Add . in the end of the 1st gofed description
* fedora-review says that the following directories have no owners, but they are owned by golang
** /usr/share/gocode/src
** /usr/share/gocode
** /usr/sharegocode/src/github.com
* gofed uses %define instead of %global for gobuild

Latest revision as of 00:38, 16 September 2017

Outdated page
This page was created and maintained to track the packaging status for hugo. Hugo reached rawhide in the begining of f28 development cycle and shall be available in releases greater or equal f28. We decided to keep this page for further reference in case we need to package some other project with several dependencies, like hugo.

We want to package Hugo in Fedora. This page is a list with all the efforts needed to achieve that.

To package Hugo, we first need to package all the dependencies listed in this page. For that, we have been using the gofed package. If you are using the gofed package, remember to add your username to the gofed group.

Refer to PackagingDrafts/Go for guidelines on how to prepare golang packages.

hugo Review request

Until hugo reaches the official repositories, we will maintain a COPR here

TODO

Packages needing to be updated

Dependencies

As we package dependencies, more dependencies may appear. Add them here and add whatever package deppends on them.

Package name Status WhatRequires
golang-github-fortytw2-leaktest PACKAGED hugo
golang-github-PuerkitoBio-purell PACKAGED hugo
golang-github-PuerkitoBio-urlesc PACKAGED golang-github-PuerkitoBio-purell
golang-github-bep-gitmap PACKAGED hugo
golang-github-bep-inflect PACKAGED hugo
golang-github-chaseadamsio-goorgeous PACKAGED hugo
golang-github-dchest-cssmin PACKAGED hugo
golang-github-eknkc-amber PACKAGED hugo
golang-github-fsnotify-fsnotify PACKAGED hugo
golang-github-kardianos-osext PACKAGED as golang-bitbucket-kardianos-osext-devel hugo
golang-github-kyokomi-emoji PACKAGED hugo
golang-github-miekg-mmark PACKAGED hugo
golang-github-nicksnyder-go-i18n PACKAGED hugo
golang-github-spf13-fsync PACKAGED hugo
golang-github-spf13-jwalterweatherman PACKAGED hugo
golang-github-spf13-nitro PACKAGED hugo
golang-github-yosssi-ace PACKAGED hugo
golang-github-yosssi-gohtml PACKAGED golang-github-yosssi-ace
golang-github-mitchellh-mapstructure PACKAGED hugo
golang-github-pelletier-go-toml PACKAGED hugo
golang-github-russross-blackfriday PACKAGED hugo
golang-github-spf13-afero PACKAGED hugo
golang-github-spf13-cast PACKAGED hugo
golang-github-spf13-cobra PACKAGED hugo
golang-googlecode-text PACKAGED hugo
golang-gopkg-yaml PACKAGED hugo
golang-github-gorilla-websocket PACKAGED hugo
golang-github-spf13-pflag PACKAGED hugo
golang-github-spf13-viper PACKAGED hugo

Fedora Golang

While packaging hugo, we found a few problems in some packages not related to hugo. Here is a list with things we want to help fixing or need to report:

  • gofed generates changelog missing a \n
  • Add . in the end of the 1st gofed description
  • fedora-review says that the following directories have no owners, but they are owned by golang
    • /usr/share/gocode/src
    • /usr/share/gocode
    • /usr/sharegocode/src/github.com
  • gofed uses %define instead of %global for gobuild