Open dhodovsk opened 3 years ago
What does this exactly mean?
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git cherry-pick updates~2270
stderr: 'fatal: bad revision 'updates~2270''
Note: some gems use git
to create gem file (installable), from gemspec file, which simply calls git ls-files
. This shouldn't be needed for rebuilding package though (spec file we use should be static, generated from gem). So it's probably unrelated, but worth noting.
@pvalena the way this works in d2s is that:
when I look at %prep in the rspec package:
%prep
%setup -q -T -n %{gem_name}-%{version} -b 1
gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec
it is pretty straightforward
on the other hand, there seem to be 2 tarballs and some "gem" magic happening
we'd need to look into this more thoroughly (unless you can explain to us what's happening behind the scenes :)
Where xxx is weirdly high, eg. 5200
Packages:
rubygem-rspec-core
,rubygem-rspec-expectations
,rubygem-rspec-mocks
,rubygem-rspec-support
Convert output: