Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-06-01 Thread Dominik 'Rathann' Mierzejewski
On Wednesday, 30 May 2018 at 21:31, Martin Gansser wrote:
> Hi Dominik,
> 
> do you mean this selection ?
> https://martinkg.fedorapeople.org/attachments/pagure-acl-selection.png

Yes.

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPMFusion   http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/TBQLZM5PGGMA62UYF5OLI245DODCOVS6/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-30 Thread Martin Gansser
Hi Dominik,

do you mean this selection ?
https://martinkg.fedorapeople.org/attachments/pagure-acl-selection.png

Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/377X5DTOKJOFDRNQFZIRDD36WQ4YCG3Z/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-30 Thread Dominik 'Rathann' Mierzejewski
On Tuesday, 29 May 2018 at 23:21, Martin Gansser wrote:
> it didn't help

What ACLs did you grant to the new token? You only need the ticket
creation ACL.

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPMFusion   http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/VFNCS43CSOOOXQVDDY6P5L7HD5V2RMAG/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Martin Gansser
it didn't help
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/OL6LQLJ3OSFBFO6EEQ6P3Q2RTVKVA2UU/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Miro Hrončok

On 29.5.2018 18:38, Martin Gansser wrote:

i request a new token !
https://martinkg.fedorapeople.org/attachments/pagure-api-token.png


did it help?

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HFMT6H4RDJ4PWXKINSSMOADV6GG4BCYV/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Martin Gansser
i request a new token !
https://martinkg.fedorapeople.org/attachments/pagure-api-token.png
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/Q5LOQWKQRN4GQUHREA6ATWJH25UBK36M/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Miro Hrončok

On 29.5.2018 15:56, Martin Gansser wrote:

Thanks all for your feedback.

the Pagure API that i am using in ~/.config/rpkg/fedpkg.conf is Valid until: 
2018-07-27

but the request branch gives me this message:

$ fedpkg request-branch f28
Could not execute request_branch: The following error occurred while creating a 
new issue in Pagure: Invalid or expired token. Please visit 
https://pagure.io/settings#api-keys to get or renew your API token.

$ fedpkg --module-name nuvola-app-jango request-branch f28
Could not execute request_branch: The following error occurred while creating a 
new issue in Pagure: Invalid or expired token. Please visit 
https://pagure.io/settings#api-keys to get or renew your API token.


Try get a new token anyway?


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MIYXLPN7N5GYFUMTAZLVKQ36K6ZTFLS7/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Martin Gansser
Thanks all for your feedback.

the Pagure API that i am using in ~/.config/rpkg/fedpkg.conf is Valid until: 
2018-07-27

but the request branch gives me this message:

$ fedpkg request-branch f28
Could not execute request_branch: The following error occurred while creating a 
new issue in Pagure: Invalid or expired token. Please visit 
https://pagure.io/settings#api-keys to get or renew your API token.

$ fedpkg --module-name nuvola-app-jango request-branch f28
Could not execute request_branch: The following error occurred while creating a 
new issue in Pagure: Invalid or expired token. Please visit 
https://pagure.io/settings#api-keys to get or renew your API token.

Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3XOAARUOPHA5VP5YFCSQYB3XDGMJKNFX/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Rex Dieter
Martin Gansser wrote:

> Hi,
> 
> i tried to update a few of my packages for f28, but this fails with this
> message:
> 
> $ fedpkg clone nuvola-app-jango; cd nuvola-app-jango; git merge master
> $ fedpkg switch-branch f28
> Could not execute switch_branch: Unknown remote branch origin/f28
> 
> f29 package builds fine:
> https://apps.fedoraproject.org/packages/nuvola-app-jango
> 
> How can i solve this ?

looks like the f28 branch disappeared?

Perhaps try (re)requesting a f28 branch (use 'fedpkg request-branch')

-- Rex

p.s. fedpkg request-branch help/docs need improvement it seems.  Initial 
output includes:
Could not execute request_branch: Missing a Pagure token. Refer to "fedpkg 
request-repo -h" to set atoken in your user configuration.

except 'fedpkg request-repo -h' makes no mention of tokens as far as I can 
tell.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GE7243LTZO4WVVAAE7PK2CGR4RRWIDQN/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Miro Hrončok

On 29.5.2018 13:49, Martin Gansser wrote:

Hi,

i tried to update a few of my packages for f28, but this fails with this 
message:

$ fedpkg clone nuvola-app-jango; cd nuvola-app-jango; git merge master
$ fedpkg switch-branch f28
Could not execute switch_branch: Unknown remote branch origin/f28

f29 package builds fine:
https://apps.fedoraproject.org/packages/nuvola-app-jango

How can i solve this ?


Indeed the branch is not there: 
https://src.fedoraproject.org/rpms/nuvola-app-jango


Request it via fedpkg request-branch, see it's --help.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/DBL74W3OQYHHBJEGQGV3SPC7FW2E6SF2/


Could not execute switch_branch: Unknown remote branch origin/f28

2018-05-29 Thread Martin Gansser
Hi,

i tried to update a few of my packages for f28, but this fails with this 
message:

$ fedpkg clone nuvola-app-jango; cd nuvola-app-jango; git merge master
$ fedpkg switch-branch f28
Could not execute switch_branch: Unknown remote branch origin/f28

f29 package builds fine:
https://apps.fedoraproject.org/packages/nuvola-app-jango

How can i solve this ?

Thanks
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/2SBCSXIZ2JQUQLBQJZHQK4GHFK6FANKI/


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Sérgio Basto
On Thu, 2018-03-22 at 12:10 +, Martin Gansser wrote:
> HI,
> 
> want to commit a new package for the f28 branch, but this fails with:
> 
> [martin@f28 nuvola-app-mixcloud]$ fedpkg switch-branch f28
> Could not execute switch_branch: Unknown remote branch origin/f28

this usually happen when you forget to do a git pull ( after the branchcreated 
) 

> existing koji builds:
> https://koji.fedoraproject.org/koji/packageinfo?packageID=24481
> 
> how can i fix this ?
> 
> Regards
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
-- 
Sérgio M. B.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Martin Gansser
> On 22/03/18 14:56, Martin Gansser wrote:
> 
> No, it reads both so just create ~/.config/rpkg/fedpkg.conf like this:
> 
> [fedpkg.pagure]
> token = ...
> 
> Tom

done so, thanks again.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Tom Hughes

On 22/03/18 14:56, Martin Gansser wrote:

On 22/03/18 12:40, Richard Shaw wrote:

Better to use .config/rpkg/fedpkg.conf rather than change
the global configuration...

Tom


then I should copy the /etc/rpkg/fedpkg.conf file to ~/.config/rpkg/fedpkg.conf 
?


No, it reads both so just create ~/.config/rpkg/fedpkg.conf like this:

[fedpkg.pagure]
token = ...

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Martin Gansser
> On 22/03/18 12:40, Richard Shaw wrote:
> 
> Better to use .config/rpkg/fedpkg.conf rather than change
> the global configuration...
> 
> Tom

then I should copy the /etc/rpkg/fedpkg.conf file to ~/.config/rpkg/fedpkg.conf 
?
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Tom Hughes

On 22/03/18 12:40, Richard Shaw wrote:
On Thu, Mar 22, 2018 at 7:36 AM, Martin Gansser 
> wrote:



i tried this already, but i don't know where is this "token" under
"fedpkg.pagure"
[martin@f28 nuvola-app-mixcloud]$ fedpkg --module-name
nuvola-app-mixcloud request-branch f28
Could not execute request_branch: The "token" value must be set
under the "fedpkg.pagure" section in your "fedpkg" user configuration


Very unintuitively under /etc/rpkg...

$ ll /etc/rpkg
total 8
-rw-r--r--. 1 root root 1545 Jan  5 03:40 fedpkg.conf
-rw-r--r--. 1 root root  581 Feb  6 18:14 rfpkg.conf


Better to use .config/rpkg/fedpkg.conf rather than change
the global configuration...

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Martin Gansser
> On Thu, Mar 22, 2018 at 7:36 AM, Martin Gansser 
>  wrote:
> 
> 
> 
> Very unintuitively under /etc/rpkg...
> 
> $ ll /etc/rpkg
> total 8
> -rw-r--r--. 1 root root 1545 Jan  5 03:40 fedpkg.conf
> -rw-r--r--. 1 root root  581 Feb  6 18:14 rfpkg.conf
> 
> Thanks,
> Richard

Thanks found it !

[martin@f28 nuvola-app-mixcloud]$ fedpkg --module-name nuvola-app-mixcloud 
request-branch f28
https://pagure.io/releng/fedora-scm-requests/issue/5318
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Richard Shaw
On Thu, Mar 22, 2018 at 7:36 AM, Martin Gansser 
wrote:

>
> i tried this already, but i don't know where is this "token" under
> "fedpkg.pagure"
> [martin@f28 nuvola-app-mixcloud]$ fedpkg --module-name
> nuvola-app-mixcloud request-branch f28
> Could not execute request_branch: The "token" value must be set under the
> "fedpkg.pagure" section in your "fedpkg" user configuration


Very unintuitively under /etc/rpkg...

$ ll /etc/rpkg
total 8
-rw-r--r--. 1 root root 1545 Jan  5 03:40 fedpkg.conf
-rw-r--r--. 1 root root  581 Feb  6 18:14 rfpkg.conf

Thanks,
Richard
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Martin Gansser
> On 22/03/18 12:10, Martin Gansser wrote:
> 
> 
> Well that package doesn't seem to have an f28 branch, which is a
> bit odd given it doesn't seem to be new.
> 
> You should be able to request one with "fedpkg request-branch" though.
> 
> Tom

i tried this already, but i don't know where is this "token" under 
"fedpkg.pagure"
[martin@f28 nuvola-app-mixcloud]$ fedpkg --module-name nuvola-app-mixcloud 
request-branch f28
Could not execute request_branch: The "token" value must be set under the 
"fedpkg.pagure" section in your "fedpkg" user configuration
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Tom Hughes

On 22/03/18 12:10, Martin Gansser wrote:


want to commit a new package for the f28 branch, but this fails with:

[martin@f28 nuvola-app-mixcloud]$ fedpkg switch-branch f28
Could not execute switch_branch: Unknown remote branch origin/f28

existing koji builds:
https://koji.fedoraproject.org/koji/packageinfo?packageID=24481

how can i fix this ?


Well that package doesn't seem to have an f28 branch, which is a
bit odd given it doesn't seem to be new.

You should be able to request one with "fedpkg request-branch" though.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Could not execute switch_branch: Unknown remote branch origin/f28

2018-03-22 Thread Martin Gansser
HI,

want to commit a new package for the f28 branch, but this fails with:

[martin@f28 nuvola-app-mixcloud]$ fedpkg switch-branch f28
Could not execute switch_branch: Unknown remote branch origin/f28

existing koji builds:
https://koji.fedoraproject.org/koji/packageinfo?packageID=24481

how can i fix this ?

Regards
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org