replacing removed projects in dub

Steven Schveighoffer schveiguy at gmail.com
Fri Mar 12 14:40:29 UTC 2021


On 3/12/21 8:46 AM, James Blachly wrote:
> On 3/11/21 5:17 PM, Steven Schveighoffer wrote:
> 
>> Should it be possible to "take over" a project in dub once the 
>> maintainer has deleted all their stuff? I have a copy of the repo 
>> (thanks to WebFreak), so I could do it, but I wonder if dub shouldn't 
>> have a way to mitigate this type of problem.
> 
> Unequivocally no. Replacing new code into the same namespace as an 
> existing/established package is a major potential malware vector.

It's not new code, I just want to restore the code that was removed.

This isn't much different than a repo owner giving the reins to someone 
else.

Perhaps there needs to be qualifications for doing this.

As of now, I need the project for tonight, so I will register a clone 
under a new name.

-Steve


More information about the Digitalmars-d mailing list