digitalmars.D - I want change package name for dub , how to do it?
- Brian (6/6) Aug 27 2018 My team want change packages name:
- Eugene Wissner (2/8) Aug 27 2018 Yes. And change the name in dub.json/dub.sdl.
- JN (5/15) Aug 27 2018 By the way, perhaps dub could use some namespacing for packages,
- Neia Neutuladh (4/20) Aug 29 2018 As an aside, I'm grateful that code.dlang.org doesn't require
- bauss (6/28) Aug 30 2018 That's terrible if it uses XHR for to retrieve the initial data
- =?UTF-8?Q?S=c3=b6nke_Ludwig?= (7/15) Aug 30 2018 To avoid breaking dependencies, the best approach is this:
My team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again?
Aug 27 2018
On Monday, 27 August 2018 at 10:25:42 UTC, Brian wrote:My team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again?Yes. And change the name in dub.json/dub.sdl.
Aug 27 2018
On Monday, 27 August 2018 at 10:54:22 UTC, Eugene Wissner wrote:On Monday, 27 August 2018 at 10:25:42 UTC, Brian wrote:By the way, perhaps dub could use some namespacing for packages, so all those would just go into "hunt" namespace? Would avoid package name squatting too, which is a thing going on in Rust's cargo right now -> https://crates.io/users/swmonMy team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again?Yes. And change the name in dub.json/dub.sdl.
Aug 27 2018
On Monday, 27 August 2018 at 13:21:18 UTC, JN wrote:On Monday, 27 August 2018 at 10:54:22 UTC, Eugene Wissner wrote:As an aside, I'm grateful that code.dlang.org doesn't require javascript and XHR calls for something as trivial as showing a list of packages.On Monday, 27 August 2018 at 10:25:42 UTC, Brian wrote:By the way, perhaps dub could use some namespacing for packages, so all those would just go into "hunt" namespace? Would avoid package name squatting too, which is a thing going on in Rust's cargo right now -> https://crates.io/users/swmonMy team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again?Yes. And change the name in dub.json/dub.sdl.
Aug 29 2018
On Wednesday, 29 August 2018 at 22:26:28 UTC, Neia Neutuladh wrote:On Monday, 27 August 2018 at 13:21:18 UTC, JN wrote:That's terrible if it uses XHR for to retrieve the initial data for the page. Much better if you just use it to retrieve additional data, but the initial data should come with the first GET request.On Monday, 27 August 2018 at 10:54:22 UTC, Eugene Wissner wrote:As an aside, I'm grateful that code.dlang.org doesn't require javascript and XHR calls for something as trivial as showing a list of packages.On Monday, 27 August 2018 at 10:25:42 UTC, Brian wrote:By the way, perhaps dub could use some namespacing for packages, so all those would just go into "hunt" namespace? Would avoid package name squatting too, which is a thing going on in Rust's cargo right now -> https://crates.io/users/swmonMy team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again?Yes. And change the name in dub.json/dub.sdl.
Aug 30 2018
Am 27.08.2018 um 12:25 schrieb Brian:My team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again?To avoid breaking dependencies, the best approach is this: 1. clone the repository 2. set the existing package to point to the cloned repository at code.dlang.org 3. change the name and create a new version tag 4. register the original repository again, picking up the new name
Aug 30 2018