#240 New option to request a repo without an initial commit
Merged by cqi. Opened by cqi.
cqi/fedpkg no-initial-commit  into  master

Download 240.patch

A new option --no-initial-commit is added to request a repository
without an initial commit. When specified, a new item is added to
ticket, which looks like

{
 "action": "new_repo",
 "branch": "master",
 ...
 "initial_commit": false
}

initial_commit with value false indicates not create the initial
commit.

Fixes #215

Signed-off-by: Chenxiong Qi cqi@redhat.com

Why are you commenting these out?

rebased onto fa503db08e7ef403d35aba88e7913dd84d91f595

Why are you commenting these out?

Hi @mprahl, thanks for pointing out this. These lines should be remove.

ping for review.

The code in fedpkg looks good. However I can't find anything in the fedrepo_req admin code that would honor the field in the ticket. I think that should be added first.

I agree with @lsedlar but fedrepo-req-admin is deprecated though. The code was moved to https://pagure.io/fedscm-admin.

:thumbsup: once this is implemented in fedscm-admin.

Issue created for the new item initial_commit, https://pagure.io/fedscm-admin/issue/1

rebased onto b9ec0d55601e14159b61f8134c843ced88190a06

@mprahl What is plan for https://pagure.io/fedscm-admin/issue/1? Would it be a problem for fedscm-admin if merge this patch before issue 1 gets fixed?

@cqi I'm not planning on implementing https://pagure.io/fedscm-admin/issue/1 since I'm currently busy with other work. Perhaps @mohanboddu would be interested in taking it on.

I don't think we should merge this patch before the above mentioned issue gets merged because it will be a confusing user experience if the user requests something but it's not fulfilled by the tool processing the request.

rebased onto a8affa8fa98298316be2269417efa93ad3b8e2be

rebased onto 693ca1db313b451856a6f9742391a30eabdaafef

rebased onto 857823e95e4ca187143f1e96b2c033aaf67c7d5c

Pull-Request has been merged by cqi

Metadata