Maybe ... I think this needs to be figured out and baked into the system. Don't leave solving the hard part to the user if that's what you head in mind.
Login to reply
Replies (4)
I anticipate that the vast majority of repositories dont have their ownership contested by anyone but fraudsters so the current implemtnation is geared towards that.
Currently if there are multiple people who claim the same repository and they don't list the others as 'maintainers', gitworkshop.dev uses the one with the most references in other events. If they do, the event with the most recent created_at timestamp is used. If someone tries to game this, the intention is to add web of trust into this.
ngit also uses a maintainers.yaml file embedded into the commit history to indicate which npubs to treat as authoritative.
The tools are not yet geared towards multiple legitimate groups of maintainers with conflicting state.
I should probably write a more polished answer and publish it as a FAQ.
I'd love some more challenge around this as its better to find holes earlier rather than later when things are harder to change. What do you think?
Better earlier than later. Duh.
> If someone tries to game this, the intention is to add web of trust into this.
I believe that when I see that.
> Currently if there are multiple people who claim the same repository and they don't list the others as 'maintainers', gitworkshop.dev uses the one with the most references in other events. If they do, the event with the most recent created_at timestamp is used.
Whatever consensus protocol you come up with must also work decentralized. Gitworkshop.dev is centralized.
There is also a larger problem here. Your thinking revolves around isolated, single responsitories. But the open source world has repositories referring to one another.
Example:
#L34
The whole chain of repositories must be decentralized and highly available. This is the problem I have to solve.
GitHub
simplex-chat/cabal.project at stable · simplex-chat/simplex-chat
SimpleX - the first messaging network operating without user identifiers of any kind - 100% private by design! iOS, Android and desktop apps 📱! ...