#7 Add some cache cleaning options
Merged by eclipseo. Opened by qulogic.
GoSIG/ qulogic/go2rpm clean-cache  into  master

Download 7.patch

As an example, if you try to run on pagure.io/golist, it will work and pick the latest tag 0.9.0. This will checkout the tag after go get, so everything works. But if you run it again, then go get will see the existing copy, get confused by the internal stuff, and bomb out. The --clean/-C option allows cleaning out the existing copy, so you can run go2rpm as many times on a previously-cached repo as you want. The --clean-all can be used to clean the whole cache, if necessary.

But if you run it again, then go get will see the existing copy, get confused by the internal stuff, and bomb out.

I don't quite get the reason for this? I can run go get -d -u pagure.io/golist/... multiple times with no error, yet it fails from within go2rpm?

Pull-Request has been merged by eclipseo

Metadata