I tried to package the newt build tool. The go2rpm tool complains that the directory where the code lives is not a git directory. This is correct, as the code is in a subdirectory.
I don't have much experience with golang, but I expected this command to produce a spec file.
$ go2rpm -f https://github.com/apache/mynewt-newt/ mynewt.apache.org/newt/newt Traceback (most recent call last): File "/usr/bin/go2rpm", line 11, in <module> load_entry_point('go2rpm==1', 'console_scripts', 'go2rpm')() File "/usr/lib/python3.8/site-packages/go2rpm/__main__.py", line 490, in main download(goipath) File "/usr/lib/python3.8/site-packages/go2rpm/__main__.py", line 301, in download repo = git.Repo(os.path.join(GIT_CACHEDIR, *get_repo_host(goipath))) File "/usr/lib/python3.8/site-packages/git/repo/base.py", line 184, in __init__ raise InvalidGitRepositoryError(epath) git.exc.InvalidGitRepositoryError: /home/casper/.cache/go2rpm/src/mynewt.apache.org/newt/newt
This should work with 1.3 with the rewritten repo handling.
Metadata Update from @eclipseo: - Issue status updated to: Closed (was: Open)