#1165 Fix manually entering pagure project name for Pagure CI
Closed by farhaan. Opened by farhaan.
farhaan/pagure jenkins-hook  into  master

Download 1165.patch

Service class in hook/jenkins_hook.py is modified in a way that it
provides project name on pagure and jenkins, where user doesn't have to
manually enter name of the project.

Files like consumer.py , lib/pagure_ci.py are adjusted according to the
new addition. Forms field for pagure_name is removed since it was not
required and similar deletion in database is made since it is no more
required.

Tests are fixed according to the new changes made.

Why aren't you just using PagureCI.project ?

rebased

rebased

@pingou sorry I rebased. I guess I can't directly use PagureCI.project. Since I need to have an object of PagureCI for which I need to pass. I tried it though but may be I don't know how to use it and hence I opted for this method.

I think with the new pagure Ci code this Pr doesn't make sense :smile: should I close it ?

Sounds good, yes, let's close this one :)

Pull-Request has been closed by farhaan

Metadata