#10429 issue with forking on src.fedoraproject/cannot edit fork
Closed: Fixed by pingou. Opened by ingli.

Describe what you would like us to do:


Please ensure my account is actually able to fork packages and edit these, etc

Why is that? Please review the brief interaction at
https://ask.fedoraproject.org/t/cannot-fork-edit-incorrect-spec-fileo-n-src-fedora/19265/6

that asked me to contact you here.

When do you need this to be done by? (YYYY/MM/DD)


no matter of urgency


cc @pingou would you have some time to guide me on this one at some point?

Hi @ingli, so I checked the new account system and it seems that you have no groups and no ssh key associated with your account. At least you should agree to the Fedora Project Contributor Agreement that you can do in your account settings at https://accounts.fedoraproject.org/

Hi @ingli, so I checked the new account system and it seems that you have no groups and no ssh key associated with your account. At least you should agree to the Fedora Project Contributor Agreement that you can do in your account settings at https://accounts.fedoraproject.org/

Thanks. When I logged in at accounts, it said/says I already signed the agreement. Maybe that happened by way of logging in on the accounts platform?

I have now added an SSH key.

Hi, may I enquire about an expectable time frame at which I could expect a response here? Not that I think people are working specifically these days, but it would be good to know whether I should expect days or weeks or months...

You are going to need to wait at least a week. All the people who can look at this are on vacation until 1st or 2nd week of January. [I am just a volunteer and do not know what is needed on this.]

The issue can be seen at: https://src.fedoraproject.org/rpms/gwenhywfar/forks there are several forks for this user.

The solution is to remove the fork from the DB and the disk and let them re-create it (most often the fork will exist only in the DB, not on disk)

DB cleaned

# sudo -u postgres pg_dump -C pagure | /usr/bin/pxz -T4 > /backups/pagure-2022-01-03.2.dump.xz 
# sudo -u postgres psql pagure
psql (12.9)
Type "help" for help.
pagure=# select id, namespace, name, is_fork, parent_id, user_id from projects where name = 'gwenhywfar';
  id   | namespace |    name    | is_fork | parent_id | user_id 
-------+-----------+------------+---------+-----------+---------
 53745 | rpms      | gwenhywfar | t       |      6032 |    4740
 53746 | rpms      | gwenhywfar | t       |      6032 |    4740
 53753 | rpms      | gwenhywfar | t       |      6032 |    2919
  6032 | rpms      | gwenhywfar | f       |           |     860
(4 rows)
pagure=# delete from projects where id = 53745;
DELETE 1
pagure=# delete from projects where id = 53746;
DELETE 1

(You can see the two entries with the same user_id in the select).

The forks are gone in https://src.fedoraproject.org/rpms/gwenhywfar/forks

I see no forks for the user ingli in /srv/git/repositories/forks/ so this should be fixed :)

@ingli you should now be able to fork that project again, let us know if anything doesn't work as expected.

Sorry for the troubles!

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata