Restricted character set for Github repo names?

Christopher Hall christopherhall.hsw at gmail.com
Thu Jul 14 06:25:52 UTC 2016


Hello Ben,

On Thu, 14 Jul 2016 07:09:04 +0100,
Ben Lavery <ben.lavery at hashbang0.com> wrote:

> Hello all,
> 
> This is my first port, I’m trying to port http://gohugo.io so I may
> have missed something.
> 
> I’ve got my Makefile (copy:
> https://manaha.co.uk/logsnstuff/gohugo_Makefile_WIP_broken ) but on
> 10.3 it fails with the following:
> 
> > _MASTER_SITES_go-md2man=https://codeload.github.com/cpuguy83/go-md2man/tar.gz/2724a9c?dummy=/:
> > not found *** Error code 127  
> 
> 
> When I tried it on an 11-BETA VM and looked at all errors I got the
> following:
> 
> > + echo 'The
> > https://codeload.github.com/cpuguy83/go-md2man/tar.gz/2724a9c?dummy=/:go-md2man
> > MASTER_SITES line has' The
> > https://codeload.github.com/cpuguy83/go-md2man/tar.gz/2724a9c?dummy=/:go-md2man
> > MASTER_SITES line has echo "a group with invalid characters, only
> > use [a-zA-Z0-9_]" Execute: 'echo "a group with invalid characters,
> > only use [a-zA-Z0-9_]”'  
> 

in the GH_TUPLE you need something like:
   cpuguy83:go-md2man:2724a9c:go_md2man
to rename the minus to an underscore

> 
> I then forked the repository to my own Github account and removed the
> hyphen from the repo name.  Modifying my Makefile (copy:
> https://manaha.co.uk/logsnstuff/gohugo_Makefile_WIP ) it now
> downloads the repository without an issue.
> 
> Is this expected behaviour?  Is it like this for a specific reason?
> 
> Kind regards,
> Ben


-- 
Best Regards.
Christopher Hall.


More information about the freebsd-ports mailing list