fortran-lang / registry

Registry for Fortran package manager
MIT License
8 stars 3 forks source link

Transfer Packages/Namespaces functionality Design #16

Open henilp105 opened 1 year ago

henilp105 commented 1 year ago

The transfer account functionality allows sudo admins to transfer accounts of inactive/non-maintained packages/namespaces to a different user , to develop this functionality, I have considered the following methods to implement this functionality, this functionality would only be allowed to be executed to sudo admins.

we could directly allow the sudo admin to transfer the account , allow the sudo admin to change username, email, and send a password reset request to new email and all the packages and the namespace access would be directly transferred to the new username and old account would not be deleted and we could show the account has been transferred and redirect them to the new account ( by this method only when the packages are seen on the /users/<username> of the frontend would change , else every where it would be exactly similar to the original.

I would like to request all the Community members to review and add suggestions/discussions of this functionality.

Thanks and Regards, Henil Panchal

CC @certik @awvwgk @arteevraina @minhqdao @perazz @milancurcic @everythingfunctional

everythingfunctional commented 1 year ago

Just to clarify, is this proposing to transfer ownership of abandoned user accounts to a new user? Or is it more of a bulk transfer of all of one user's projects and namespaces to another user?

henilp105 commented 1 year ago

@everythingfunctional It would be proposing to transfer the ownership of accounts which have inactive/non-maintained packages/namespaces but are of importance to the community , it would be like bulk transfer of all of one user's projects and namespaces to another user.

everythingfunctional commented 1 year ago

I would just think of it as bulk package/namespace transfer, not account transfer.

henilp105 commented 1 year ago

sure, it seems to be more apt to bulk transfer the packages/namespaces than the entire account.

arteevraina commented 1 year ago

@everythingfunctional It would be proposing to transfer the ownership of accounts which have inactive/non-maintained packages/namespaces but are of importance to the community , it would be like bulk transfer of all of one user's projects and namespaces to another user.

In this case, namespace would remain constant and then it won't matter to the fpm client since they need the namespace name and package name to get the packages. Are we just transferring the ownership without changing the namespace or is it like packages listed under namespaceA would be listed now under namespaceB ?

everythingfunctional commented 1 year ago

In this case, namespace would remain constant and then it won't matter to the fpm client since they need the namespace name and package name to get the packages. Are we just transferring the ownership without changing the namespace or is it like packages listed under namespaceA would be listed now under namespaceB ?

My understanding is it would just be transferring ownership, no names would change.