Bug 1426033 - git-annex missing, cannot use tito.builder.GitAnnexBuilder
Summary: git-annex missing, cannot use tito.builder.GitAnnexBuilder
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-23 05:29 UTC by RJ Bergeron
Modified: 2017-05-15 12:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-12 16:27:52 UTC
Embargoed:


Attachments (Terms of Use)
attached import tasklog (3.02 KB, text/plain)
2017-02-23 05:31 UTC, RJ Bergeron
no flags Details

Description RJ Bergeron 2017-02-23 05:29:52 UTC
Description of problem:
attempts to run copr against a git repository using git-annex/tito.builder.GitAnnexBuilder does not work.


How reproducible:
always

Steps to Reproduce:
1. create public git repo with .tito/tito.props as follows:
[buildconfig]
builder = tito.builder.GitAnnexBuilder
tagger = tito.tagger.VersionTagger
changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae)

2. in copr, create a new build, select 'Tito' as the source type - you should be at a page like https://copr.fedorainfracloud.org/coprs/%s/%s/add_build_tito

3. Click 'Build'

Actual results:
SrpmBuilderException: ERROR: Please run 'sudo dnf install git-annex' as root.

Expected results:
git-annex should run, allowing the SRPM builder process to create an SRPM using the repo and spec.

Additional info:
example import failure is currently at http://copr-dist-git.fedorainfracloud.org/per-task-logs/516408-el6.log

Comment 1 RJ Bergeron 2017-02-23 05:31:45 UTC
Created attachment 1256768 [details]
attached import tasklog

attaching import task log as failed logs do eventually expire from copr

Comment 2 clime 2017-03-07 16:00:23 UTC
Fixed by https://pagure.io/copr/copr/c/1a8bcd98e0837ec80e4289e6456debb4bd3967f0?branch=master. It will take a bit of time to get into production.

Comment 3 Pavel Raiskup 2017-03-07 16:33:29 UTC
I would suggest you to switch this against tito package.  This could be
added as 'Suggests' weak dependency there.

Comment 4 RJ Bergeron 2017-03-14 04:52:54 UTC
tito bug now up in https://bugzilla.redhat.com/show_bug.cgi?id=1431933

Comment 5 clime 2017-04-12 16:27:52 UTC
New copr-dist-git version has been released and deployed. Please test

Comment 6 marcindulak 2017-05-14 19:16:37 UTC
Have just encountered the same problem today: http://copr-dist-git.fedorainfracloud.org/per-task-logs/551683-master.log

Comment 7 clime 2017-05-15 12:59:17 UTC
This is actually not the same problem. The message about "sudo dnf install git-annex" is misleading. The real error is:

Command output: git-annex: First run: git-annex init

I need to look into this more closely. Opened: https://bugzilla.redhat.com/show_bug.cgi?id=1450950 for that issue.


Note You need to log in before you can comment on or make changes to this bug.