digitalmars.D - Registering a package with dub
- Andrei Alexandrescu (11/11) Aug 23 2016 So I went to http://code.dlang.org/register_package to register a new
- Andrei Alexandrescu (5/16) Aug 23 2016 Hm, after removing the old remote and creating a new one called
- Lodovico Giaretta (5/31) Aug 23 2016 It referes to the package name set in the SDL/JSON configuration.
- Andrei Alexandrescu (2/4) Aug 23 2016 Thank you. That should definitely be part of the documentation. -- Andre...
- Andrei Alexandrescu (8/10) Aug 23 2016 Now I have successfully published it:
- Lodovico Giaretta (8/20) Aug 23 2016 Because version 0.0.1 will always refer to your 0.0.1 tag. And in
- Lodovico Giaretta (7/26) Aug 23 2016 Expanding on this, you can see from the public package page
- Andrei Alexandrescu (2/7) Aug 23 2016 Cool. So do things look in good shape now? -- Andrei
- Lodovico Giaretta (3/13) Aug 23 2016 Yes. Version 0.0.2 is correctly available on DUB.
- Andrei Alexandrescu (2/24) Aug 23 2016 OK, bumped the version and then removed the old tag. Thanks! -- Andrei
-
Lodovico Giaretta
(5/17)
Aug 23 2016
By the way, posting links to code.dlang.org/my_packages/
- Andrei Alexandrescu (4/23) Aug 23 2016 And then in desperation I used mcookie to create repo
- Jacob Carlborg (6/8) Aug 23 2016 The documentation of the dub.sdl/json format mentions that "name",
- Andrei Alexandrescu (2/8) Aug 23 2016 The error message should point to the doc. -- Andrei
So I went to http://code.dlang.org/register_package to register a new package. I got errors. First, "License is missing". That should have a pointer to the pertinent documentation. Second, "No tags". There were a few explanations, but again it would be great to point to the appropriate documentation. Sadly after those two and after getting my package in order, I got: "A package with the same name is already registered" with no pointer to it. (I assume it is tsbockman's work.) Fine, the problem now is there's no option on how to publish a package that keeps the same github name yet exposes a different name... Andrei
Aug 23 2016
On 08/23/2016 02:11 PM, Andrei Alexandrescu wrote:So I went to http://code.dlang.org/register_package to register a new package. I got errors. First, "License is missing". That should have a pointer to the pertinent documentation. Second, "No tags". There were a few explanations, but again it would be great to point to the appropriate documentation. Sadly after those two and after getting my package in order, I got: "A package with the same name is already registered" with no pointer to it. (I assume it is tsbockman's work.) Fine, the problem now is there's no option on how to publish a package that keeps the same github name yet exposes a different name... AndreiHm, after removing the old remote and creating a new one called "checkedint_andralex" which does not exist on code.dlang.org, I still get "A package with the same name is already registered.". No idea how to proceed, please advise. -- Andrei
Aug 23 2016
On Tuesday, 23 August 2016 at 18:17:33 UTC, Andrei Alexandrescu wrote:On 08/23/2016 02:11 PM, Andrei Alexandrescu wrote:It referes to the package name set in the SDL/JSON configuration. You have to change that. The GitHub project name means nothing for DUB.So I went to http://code.dlang.org/register_package to register a new package. I got errors. First, "License is missing". That should have a pointer to the pertinent documentation. Second, "No tags". There were a few explanations, but again it would be great to point to the appropriate documentation. Sadly after those two and after getting my package in order, I got: "A package with the same name is already registered" with no pointer to it. (I assume it is tsbockman's work.) Fine, the problem now is there's no option on how to publish a package that keeps the same github name yet exposes a different name... AndreiHm, after removing the old remote and creating a new one called "checkedint_andralex" which does not exist on code.dlang.org, I still get "A package with the same name is already registered.". No idea how to proceed, please advise. -- Andrei
Aug 23 2016
On 08/23/2016 02:18 PM, Lodovico Giaretta wrote:It referes to the package name set in the SDL/JSON configuration. You have to change that. The GitHub project name means nothing for DUB.Thank you. That should definitely be part of the documentation. -- Andrei
Aug 23 2016
On 08/23/2016 02:18 PM, Lodovico Giaretta wrote:It referes to the package name set in the SDL/JSON configuration. You have to change that. The GitHub project name means nothing for DUB.Now I have successfully published it: http://code.dlang.org/my_packages/checkedint_andralex. However, I see this error on the page: Version 0.0.1: Package name (checkedint) does not match the original package name (checkedint_andralex). Check dub.sdl. What should I check? My dub.sdl lists checkedint_andralex. Andrei
Aug 23 2016
On Tuesday, 23 August 2016 at 18:28:54 UTC, Andrei Alexandrescu wrote:On 08/23/2016 02:18 PM, Lodovico Giaretta wrote:Because version 0.0.1 will always refer to your 0.0.1 tag. And in the commit referred by the tag, the SDL name is still "checkedint". The config file may change between releases, and DUB will always use the config file that shipped with each tag. So the only way to solve the problem is to create a new tag with the correct name setting, and maybe remove the old tag.It referes to the package name set in the SDL/JSON configuration. You have to change that. The GitHub project name means nothing for DUB.Now I have successfully published it: http://code.dlang.org/my_packages/checkedint_andralex. However, I see this error on the page: Version 0.0.1: Package name (checkedint) does not match the original package name (checkedint_andralex). Check dub.sdl. What should I check? My dub.sdl lists checkedint_andralex. Andrei
Aug 23 2016
On Tuesday, 23 August 2016 at 18:32:50 UTC, Lodovico Giaretta wrote:On Tuesday, 23 August 2016 at 18:28:54 UTC, Andrei Alexandrescu wrote:Expanding on this, you can see from the public package page https://code.dlang.org/packages/checkedint_andralex that the only available version is ~master. There's no mention of v0.0.1, as the SDL file shipped with that tag has a name mismatch with the registered package name, so the release is discarded by DUB.Now I have successfully published it: http://code.dlang.org/my_packages/checkedint_andralex. However, I see this error on the page: Version 0.0.1: Package name (checkedint) does not match the original package name (checkedint_andralex). Check dub.sdl. What should I check? My dub.sdl lists checkedint_andralex. AndreiBecause version 0.0.1 will always refer to your 0.0.1 tag. And in the commit referred by the tag, the SDL name is still "checkedint". The config file may change between releases, and DUB will always use the config file that shipped with each tag. So the only way to solve the problem is to create a new tag with the correct name setting, and maybe remove the old tag.
Aug 23 2016
On 08/23/2016 02:56 PM, Lodovico Giaretta wrote:Expanding on this, you can see from the public package page https://code.dlang.org/packages/checkedint_andralex that the only available version is ~master. There's no mention of v0.0.1, as the SDL file shipped with that tag has a name mismatch with the registered package name, so the release is discarded by DUB.Cool. So do things look in good shape now? -- Andrei
Aug 23 2016
On Tuesday, 23 August 2016 at 18:59:48 UTC, Andrei Alexandrescu wrote:On 08/23/2016 02:56 PM, Lodovico Giaretta wrote:Yes. Version 0.0.2 is correctly available on DUB.Expanding on this, you can see from the public package page https://code.dlang.org/packages/checkedint_andralex that the only available version is ~master. There's no mention of v0.0.1, as the SDL file shipped with that tag has a name mismatch with the registered package name, so the release is discarded by DUB.Cool. So do things look in good shape now? -- Andrei
Aug 23 2016
On 08/23/2016 02:32 PM, Lodovico Giaretta wrote:On Tuesday, 23 August 2016 at 18:28:54 UTC, Andrei Alexandrescu wrote:OK, bumped the version and then removed the old tag. Thanks! -- AndreiOn 08/23/2016 02:18 PM, Lodovico Giaretta wrote:Because version 0.0.1 will always refer to your 0.0.1 tag. And in the commit referred by the tag, the SDL name is still "checkedint". The config file may change between releases, and DUB will always use the config file that shipped with each tag. So the only way to solve the problem is to create a new tag with the correct name setting, and maybe remove the old tag.It referes to the package name set in the SDL/JSON configuration. You have to change that. The GitHub project name means nothing for DUB.Now I have successfully published it: http://code.dlang.org/my_packages/checkedint_andralex. However, I see this error on the page: Version 0.0.1: Package name (checkedint) does not match the original package name (checkedint_andralex). Check dub.sdl. What should I check? My dub.sdl lists checkedint_andralex. Andrei
Aug 23 2016
On Tuesday, 23 August 2016 at 18:28:54 UTC, Andrei Alexandrescu wrote:On 08/23/2016 02:18 PM, Lodovico Giaretta wrote:By the way, posting links to code.dlang.org/my_packages/<package name> is useless, as that page is only available to the package owner.It referes to the package name set in the SDL/JSON configuration. You have to change that. The GitHub project name means nothing for DUB.Now I have successfully published it: http://code.dlang.org/my_packages/checkedint_andralex. However, I see this error on the page: Version 0.0.1: Package name (checkedint) does not match the original package name (checkedint_andralex). Check dub.sdl. What should I check? My dub.sdl lists checkedint_andralex. Andrei
Aug 23 2016
On 08/23/2016 02:17 PM, Andrei Alexandrescu wrote:On 08/23/2016 02:11 PM, Andrei Alexandrescu wrote:And then in desperation I used mcookie to create repo 6c47688463988a65cbe25a9f44977a74, which I tried to register. No avail. -- AndreiSo I went to http://code.dlang.org/register_package to register a new package. I got errors. First, "License is missing". That should have a pointer to the pertinent documentation. Second, "No tags". There were a few explanations, but again it would be great to point to the appropriate documentation. Sadly after those two and after getting my package in order, I got: "A package with the same name is already registered" with no pointer to it. (I assume it is tsbockman's work.) Fine, the problem now is there's no option on how to publish a package that keeps the same github name yet exposes a different name... AndreiHm, after removing the old remote and creating a new one called "checkedint_andralex" which does not exist on code.dlang.org, I still get "A package with the same name is already registered.". No idea how to proceed, please advise. -- Andrei
Aug 23 2016
On 2016-08-23 20:11, Andrei Alexandrescu wrote:So I went to http://code.dlang.org/register_package to register a new package. I got errors. First, "License is missing".The documentation of the dub.sdl/json format mentions that "name", "description" and "license" are required [1]. http://code.dlang.org/package-format?lang=sdl#standard-settings -- /Jacob Carlborg
Aug 23 2016
On 08/23/2016 03:18 PM, Jacob Carlborg wrote:On 2016-08-23 20:11, Andrei Alexandrescu wrote:The error message should point to the doc. -- AndreiSo I went to http://code.dlang.org/register_package to register a new package. I got errors. First, "License is missing".The documentation of the dub.sdl/json format mentions that "name", "description" and "license" are required [1]. http://code.dlang.org/package-format?lang=sdl#standard-settings
Aug 23 2016