From Fedora Project Wiki
Line 37: Line 37:
| golang-github-PuerkitoBio-purell || [https://bugzilla.redhat.com/show_bug.cgi?id=1394576 Review request] || hugo
| golang-github-PuerkitoBio-purell || [https://bugzilla.redhat.com/show_bug.cgi?id=1394576 Review request] || hugo
|-
|-
| golang-github-PuerkitoBio-urlesc || [https://bugzilla.redhat.com/show_bug.cgi?id=1206883 Review request] || golang-github-PuerkitoBio-purell
| golang-github-PuerkitoBio-urlesc || PACKAGED || golang-github-PuerkitoBio-purell
|-
|-
| 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-gitmap || PACKAGED || hugo
|-
|-
| golang-github-bep-inflect || [https://bugzilla.redhat.com/show_bug.cgi?id=1426851 Review request] || hugo
| golang-github-bep-inflect || [https://bugzilla.redhat.com/show_bug.cgi?id=1426851 Review request] || hugo
Line 45: Line 45:
| golang-github-chaseadamsio-goorgeous || [https://bugzilla.redhat.com/show_bug.cgi?id=1426954 Review request] || hugo
| golang-github-chaseadamsio-goorgeous || [https://bugzilla.redhat.com/show_bug.cgi?id=1426954 Review request] || hugo
|-
|-
| golang-github-dchest-cssmin || [https://bugzilla.redhat.com/show_bug.cgi?id=1206877 Review request] || hugo
| golang-github-dchest-cssmin || PACKAGED || hugo
|-
|-
| golang-github-eknkc-amber || [https://bugzilla.redhat.com/show_bug.cgi?id=1206879 Review request] || hugo
| golang-github-eknkc-amber || [https://bugzilla.redhat.com/show_bug.cgi?id=1206879 Review request] || 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-fsnotify-fsnotify || PACKAGED || hugo
|-
|-
| golang-github-kardianos-osext || PACKAGED as golang-bitbucket-kardianos-osext-devel || hugo
| golang-github-kardianos-osext || PACKAGED as golang-bitbucket-kardianos-osext-devel || hugo
Line 55: Line 55:
| golang-github-kyokomi-emoji || [https://bugzilla.redhat.com/show_bug.cgi?id=1344936 Review request] || hugo
| golang-github-kyokomi-emoji || [https://bugzilla.redhat.com/show_bug.cgi?id=1344936 Review request] || 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-miekg-mmark || PACKAGED || hugo
|-
|-
| golang-github-nicksnyder-go-i18n || [https://bugzilla.redhat.com/show_bug.cgi?id=1426965 Review request] || hugo
| golang-github-nicksnyder-go-i18n || [https://bugzilla.redhat.com/show_bug.cgi?id=1426965 Review request] || 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-fsync || PACKAGED || hugo
|-
|-
| golang-github-spf13-jwalterweatherman || PACKAGED || hugo
| golang-github-spf13-jwalterweatherman || PACKAGED || hugo

Revision as of 17:32, 7 March 2017

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

  • Review packages
  • golang-github-spf13-viper
    • need to be updated to use the lowercase version of jww
  • golang-github-spf13-cast
    • need to be updated to use the lowercase version of jww

Packages needing to be updated

  • jww (Check COPR version)
  • github-yosssi-ace (check COPR version)
    • This package has tags, but the last tag does not have the function we need
      • Hugo uses ace.CompileResultWithTemplate which is not available in the latest tag
      • Maybe we should ask upstream to generate a new tag => issue#75

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 Review request hugo
golang-github-PuerkitoBio-purell Review request hugo
golang-github-PuerkitoBio-urlesc PACKAGED golang-github-PuerkitoBio-purell
golang-github-bep-gitmap PACKAGED hugo
golang-github-bep-inflect Review request hugo
golang-github-chaseadamsio-goorgeous Review request hugo
golang-github-dchest-cssmin PACKAGED hugo
golang-github-eknkc-amber Review request hugo
golang-github-fsnotify-fsnotify PACKAGED hugo
golang-github-kardianos-osext PACKAGED as golang-bitbucket-kardianos-osext-devel hugo
golang-github-kyokomi-emoji Review request hugo
golang-github-miekg-mmark PACKAGED hugo
golang-github-nicksnyder-go-i18n Review request hugo
golang-github-spf13-fsync PACKAGED hugo
golang-github-spf13-jwalterweatherman PACKAGED hugo
golang-github-spf13-nitro Review request hugo
golang-github-yosssi-ace Review request hugo
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