Jump to page: 1 2
Thread overview
replacing removed projects in dub
Mar 11, 2021
ryuukk_
Mar 12, 2021
Imperatorn
Mar 12, 2021
James Blachly
Mar 12, 2021
Siemargl
Mar 13, 2021
Paul Backus
Mar 12, 2021
Robert Schadek
Mar 13, 2021
Robert Schadek
Mar 17, 2021
Jacob Carlborg
Mar 17, 2021
Imperatorn
Mar 17, 2021
WebFreak001
Mar 17, 2021
Imperatorn
March 11, 2021
Everyone has seen this happen sometimes. An open-source author deletes their account or the repository, and then the source is gone. The latest is this project:

https://code.dlang.org/packages/raylib-d

Which I have been using to teach a class.

But of course, it's open source, so we can continue.

What does one do when the project is deleted from view? I can register a copy of it, but it seems rather annoying if one has to do this kind of stuff. Plus, now I have to come up with a different name (and have projects update all their dependencies).

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.

Also, if anyone has any information about why this happened, let me know (you can email me if you want to speak privately), I want to make sure the original author really meant to do this before I register a copy of their stuff.

-Steve
March 11, 2021
On Thursday, 11 March 2021 at 22:17:59 UTC, Steven Schveighoffer wrote:
> Everyone has seen this happen sometimes. An open-source author deletes their account or the repository, and then the source is gone. The latest is this project:
>
> https://code.dlang.org/packages/raylib-d
>
> Which I have been using to teach a class.
>
> But of course, it's open source, so we can continue.
>
> What does one do when the project is deleted from view? I can register a copy of it, but it seems rather annoying if one has to do this kind of stuff. Plus, now I have to come up with a different name (and have projects update all their dependencies).
>
> 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.
>
> Also, if anyone has any information about why this happened, let me know (you can email me if you want to speak privately), I want to make sure the original author really meant to do this before I register a copy of their stuff.
>
> -Steve

Looks like he closed his github account entirely

raylib is a C library so it is pretty easy to generate bindings for it!

There are ton of other bindings for raylib for D on github:

https://github.com/Soaku/raylib-d
https://github.com/o3o/bindbc-raylib

And a little reminder, to generating bindings for header is super simple with dstep:

https://github.com/jacob-carlborg/dstep

March 12, 2021
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.
March 12, 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
March 12, 2021
On 3/11/21 5:57 PM, ryuukk_ wrote:
> 
> Looks like he closed his github account entirely
> 
> raylib is a C library so it is pretty easy to generate bindings for it!

raylib-d had more than just bindings.

> 
> There are ton of other bindings for raylib for D on github:
> 
> https://github.com/Soaku/raylib-d

This is actually a clone of the raylib-d repository. I don't know if it's registered yet.

> https://github.com/o3o/bindbc-raylib

This is just a binding, which is OK if that's all I wanted for a new project. I want my code that I've built over the last year to work without having to re-engineer everything.

-Steve
March 12, 2021
On Friday, 12 March 2021 at 14:45:29 UTC, Steven Schveighoffer wrote:
> On 3/11/21 5:57 PM, ryuukk_ wrote:
>> 
>> Looks like he closed his github account entirely
>> 
>> raylib is a C library so it is pretty easy to generate bindings for it!
>
> raylib-d had more than just bindings.
>
>> 
>> There are ton of other bindings for raylib for D on github:
>> 
>> https://github.com/Soaku/raylib-d
>
> This is actually a clone of the raylib-d repository. I don't know if it's registered yet.
>
>> https://github.com/o3o/bindbc-raylib
>
> This is just a binding, which is OK if that's all I wanted for a new project. I want my code that I've built over the last year to work without having to re-engineer everything.
>
> -Steve

We should have a local copy in our registry, synching if smth changes or smth.
March 12, 2021
On 3/11/21 5:17 PM, Steven Schveighoffer wrote:
> Everyone has seen this happen sometimes. An open-source author deletes their account or the repository, and then the source is gone. The latest is this project:
> 
> https://code.dlang.org/packages/raylib-d
> 

> Also, if anyone has any information about why this happened, let me know (you can email me if you want to speak privately), I want to make sure the original author really meant to do this before I register a copy of their stuff.

FYI, I registered raylib-d2, which has been updated with all tags to use the new name (so all you need to do if you depend on raylib-d, is to change it to raylib-d2)

As long as the original author does not respond, I'll maintain that library, but probably not actively.

https://github.com/schveiguy/raylib-d2

-Steve
March 12, 2021
> Which I have been using to teach a class.

Cool! Whom are you teaching D where? If I may ask

March 12, 2021
On 3/12/21 3:32 PM, Robert Schadek wrote:
>> Which I have been using to teach a class.
> 
> Cool! Whom are you teaching D where? If I may ask
> 

My son and other homeschool kids, and online at the moment (before Covid it was at my house)

-Steve
March 12, 2021
On Friday, 12 March 2021 at 16:18:07 UTC, Steven Schveighoffer wrote:
> On 3/11/21 5:17 PM, Steven Schveighoffer wrote:
>> Everyone has seen this happen sometimes. An open-source author deletes their account or the repository, and then the source is gone. The latest is this project:
>> 
>> https://code.dlang.org/packages/raylib-d
>> 
>
>> Also, if anyone has any information about why this happened, let me know (you can email me if you want to speak privately), I want to make sure the original author really meant to do this before I register a copy of their stuff.
>
> FYI, I registered raylib-d2, which has been updated with all tags to use the new name (so all you need to do if you depend on raylib-d, is to change it to raylib-d2)
>
> As long as the original author does not respond, I'll maintain that library, but probably not actively.
>
> https://github.com/schveiguy/raylib-d2
>
> -Steve
I think you're right. If the licence permits copying.

DUB supports hosting sites for libs other than github? Some people don't like MS.

P.S. Covid is not such evil, as written in news, especially for young people. But get well.
« First   ‹ Prev
1 2