From Fedora Project Wiki
Line 62: Line 62:
| 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 || [https://bugzilla.redhat.com/show_bug.cgi?id=1426885 Review request] - [https://fedoraproject.org/wiki/User:Fredlima fredlima] || hugo
|-
|-
| golang-github-spf13-jwalterweatherman || PACKAGED - [https://bugzilla.redhat.com/show_bug.cgi?id=1427336 BUG: cammelCase on namespace] || hugo
| golang-github-spf13-jwalterweatherman || PACKAGED || hugo
|-
|-
| golang-github-spf13-nitro || [https://bugzilla.redhat.com/show_bug.cgi?id=1395368 Review request] || hugo
| golang-github-spf13-nitro || [https://bugzilla.redhat.com/show_bug.cgi?id=1395368 Review request] || hugo

Revision as of 19:31, 5 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
  • the latest build of jww in koji does not seem to be available (we need to chack that)

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

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