digitalmars.D - replacing removed projects in dub
- Steven Schveighoffer (19/19) Mar 11 2021 Everyone has seen this happen sometimes. An open-source author deletes
- ryuukk_ (11/31) Mar 11 2021 Looks like he closed his github account entirely
- Steven Schveighoffer (8/17) Mar 12 2021 This is actually a clone of the raylib-d repository. I don't know if
- Imperatorn (4/22) Mar 12 2021 We should have a local copy in our registry, synching if smth
- James Blachly (3/7) Mar 12 2021 Unequivocally no. Replacing new code into the same namespace as an
- Steven Schveighoffer (8/17) Mar 12 2021 It's not new code, I just want to restore the code that was removed.
- Steven Schveighoffer (8/18) Mar 12 2021 FYI, I registered raylib-d2, which has been updated with all tags to use...
- Siemargl (7/25) Mar 12 2021 I think you're right. If the licence permits copying.
- Paul Backus (2/4) Mar 13 2021 It supports github, bitbucket, and gitlab.
- Steven Schveighoffer (9/30) Mar 19 2021 I did not get a response, but the maintainer (or someone else) must have...
- Steven Schveighoffer (3/5) Mar 19 2021 Oof, I meant the *raylib-d2* repo. Not the raylib-d repo!
- Robert Schadek (1/2) Mar 12 2021 Cool! Whom are you teaching D where? If I may ask
- Steven Schveighoffer (4/8) Mar 12 2021 My son and other homeschool kids, and online at the moment (before Covid...
- Robert Schadek (1/4) Mar 13 2021 Very cool.
- Jacob Carlborg (13/28) Mar 17 2021 This wouldn't be a problem if the Dub registry wasn't directly
- Imperatorn (2/17) Mar 17 2021 Agreed, I've said before we should have a buffer/backup
- WebFreak001 (3/25) Mar 17 2021 In case anyone needs it, I always have a backup of all packages
- Imperatorn (2/10) Mar 17 2021 Splendid, that's good to know! 🍀
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
Mar 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. -SteveLooks 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
Mar 11 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-dThis is actually a clone of the raylib-d repository. I don't know if it's registered yet.https://github.com/o3o/bindbc-raylibThis 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
Mar 12 2021
On Friday, 12 March 2021 at 14:45:29 UTC, Steven Schveighoffer wrote:On 3/11/21 5:57 PM, ryuukk_ wrote:We should have a local copy in our registry, synching if smth changes or smth.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-dThis is actually a clone of the raylib-d repository. I don't know if it's registered yet.https://github.com/o3o/bindbc-raylibThis 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
Mar 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.
Mar 12 2021
On 3/12/21 8:46 AM, James Blachly wrote:On 3/11/21 5:17 PM, Steven Schveighoffer wrote: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. -SteveShould 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.
Mar 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-dAlso, 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
Mar 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: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.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-dAlso, 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
Mar 12 2021
On Friday, 12 March 2021 at 21:45:48 UTC, Siemargl wrote:DUB supports hosting sites for libs other than github? Some people don't like MS.It supports github, bitbucket, and gitlab.
Mar 13 2021
On 3/12/21 11:18 AM, Steven Schveighoffer wrote:On 3/11/21 5:17 PM, Steven Schveighoffer wrote:I did not get a response, but the maintainer (or someone else) must have logged in and redirected to my repo for raylib-d. So raylib-d will live on under my account! I'll make the repo archived and note that in the README (probably put in a pragma(msg) to tell people to switch). I'll release raylib-d v3.0.4 with the latest stuff (there was some code that hadn't been released). -SteveEveryone 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-dAlso, 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
Mar 19 2021
On 3/19/21 10:47 AM, Steven Schveighoffer wrote:I'll make the repo archived and note that in the README (probably put in a pragma(msg) to tell people to switch).Oof, I meant the *raylib-d2* repo. Not the raylib-d repo! -Steve
Mar 19 2021
Which I have been using to teach a class.Cool! Whom are you teaching D where? If I may ask
Mar 12 2021
On 3/12/21 3:32 PM, Robert Schadek wrote:My son and other homeschool kids, and online at the moment (before Covid it was at my house) -SteveWhich I have been using to teach a class.Cool! Whom are you teaching D where? If I may ask
Mar 12 2021
My son and other homeschool kids, and online at the moment (before Covid it was at my house) -SteveVery cool.
Mar 13 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.This wouldn't be a problem if the Dub registry wasn't directly tied to GitHub (or other similar services). It would be better if it was more difficult to remove a package from the Dub registry. With RubyGems, a package is not tied to GitHub but it's instead an artifact that has been uploaded. If the user closes the GitHub account the package will still be available in the RubyGems registry. I think it's becoming more and more problematic with the Dub being directly tied to GitHub. -- /Jacob Carlborg
Mar 17 2021
On Wednesday, 17 March 2021 at 10:04:46 UTC, Jacob Carlborg wrote:On Thursday, 11 March 2021 at 22:17:59 UTC, Steven Schveighoffer wrote:Agreed, I've said before we should have a buffer/backup[...]This wouldn't be a problem if the Dub registry wasn't directly tied to GitHub (or other similar services). It would be better if it was more difficult to remove a package from the Dub registry. With RubyGems, a package is not tied to GitHub but it's instead an artifact that has been uploaded. If the user closes the GitHub account the package will still be available in the RubyGems registry. I think it's becoming more and more problematic with the Dub being directly tied to GitHub. -- /Jacob Carlborg
Mar 17 2021
On Wednesday, 17 March 2021 at 10:14:39 UTC, Imperatorn wrote:On Wednesday, 17 March 2021 at 10:04:46 UTC, Jacob Carlborg wrote:In case anyone needs it, I always have a backup of all packages so you can message me if you are missing something deleted.On Thursday, 11 March 2021 at 22:17:59 UTC, Steven Schveighoffer wrote:Agreed, I've said before we should have a buffer/backup[...]This wouldn't be a problem if the Dub registry wasn't directly tied to GitHub (or other similar services). It would be better if it was more difficult to remove a package from the Dub registry. With RubyGems, a package is not tied to GitHub but it's instead an artifact that has been uploaded. If the user closes the GitHub account the package will still be available in the RubyGems registry. I think it's becoming more and more problematic with the Dub being directly tied to GitHub. -- /Jacob Carlborg
Mar 17 2021
On Wednesday, 17 March 2021 at 20:07:40 UTC, WebFreak001 wrote:On Wednesday, 17 March 2021 at 10:14:39 UTC, Imperatorn wrote:Splendid, that's good to know! 🍀On Wednesday, 17 March 2021 at 10:04:46 UTC, Jacob Carlborg wrote:In case anyone needs it, I always have a backup of all packages so you can message me if you are missing something deleted.[...]Agreed, I've said before we should have a buffer/backup
Mar 17 2021