digitalmars.D - Adding DMDScript to dub
- Walter Bright (10/10) Dec 12 2014 Dmitry Olshansky has graciously ported DMDScript (a Javascript engine wr...
- Rikki Cattermole (8/18) Dec 12 2014 "dependencies": {
- Rikki Cattermole (4/31) Dec 12 2014 Looks like I was right, dub repo doesn't understand this rule.
- Walter Bright (2/11) Dec 12 2014 Thanks, I added "dmdscript" before the : and it registered.
- Martin Nowak (3/13) Dec 14 2014 You should the full error, it says.
- Walter Bright (3/25) Dec 14 2014 That's a new error, I fixed the original per Rikki's advice. I don't und...
- Rikki Cattermole (4/32) Dec 14 2014 Test branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json
- Walter Bright (2/10) Dec 14 2014 How do I get dub to stop looking at the test branch?
- Rikki Cattermole (10/24) Dec 15 2014 Dammit looks like I posted test branch link as both.
- Jacob Carlborg (6/7) Dec 15 2014 I've complained about this before. As far as I know it's not currently
- Martin Nowak (3/6) Dec 15 2014 Well here is the code
- Jacob Carlborg (4/6) Dec 15 2014 I don't have time to work on every single project myself.
- Walter Bright (2/7) Dec 15 2014 Would it work if I deleted the tags from the test branch?
- Jacob Carlborg (4/5) Dec 15 2014 I don't know, at least previously Dub tracked branches as well.
- Martin Nowak (4/5) Dec 15 2014 Deleting the dub.json on the test branch should work.
- Walter Bright (2/8) Dec 15 2014 Ok, guess I'll leave it be, then!
Dmitry Olshansky has graciously ported DMDScript (a Javascript engine written in D) to D2. https://github.com/DigitalMars/DMDScript I have been trying to get it into dub, but have been stalled by the following when I attempt to register: Repository owner: DigitalMars Repository name: DMDScript it says in red: Package names may not be empty. Check dub.json. What does that mean? There is no "package name" field in the dub.json file.
Dec 12 2014
On 13/12/2014 2:53 p.m., Walter Bright wrote:Dmitry Olshansky has graciously ported DMDScript (a Javascript engine written in D) to D2. https://github.com/DigitalMars/DMDScript I have been trying to get it into dub, but have been stalled by the following when I attempt to register: Repository owner: DigitalMars Repository name: DMDScript it says in red: Package names may not be empty. Check dub.json. What does that mean? There is no "package name" field in the dub.json file."dependencies": { ":engine" : "*", ":ds" : "*", ":ds-ext": "*" }, I wasn't aware that not having the package name before a : would infer its own subpackage.
Dec 12 2014
On 13/12/2014 2:58 p.m., Rikki Cattermole wrote:On 13/12/2014 2:53 p.m., Walter Bright wrote:Looks like I was right, dub repo doesn't understand this rule. https://github.com/D-Programming-Language/dub-registry/blob/master/source/dubregistry/registry.d#L222 https://github.com/D-Programming-Language/dub-registry/blob/master/source/dubregistry/registry.d#L423Dmitry Olshansky has graciously ported DMDScript (a Javascript engine written in D) to D2. https://github.com/DigitalMars/DMDScript I have been trying to get it into dub, but have been stalled by the following when I attempt to register: Repository owner: DigitalMars Repository name: DMDScript it says in red: Package names may not be empty. Check dub.json. What does that mean? There is no "package name" field in the dub.json file."dependencies": { ":engine" : "*", ":ds" : "*", ":ds-ext": "*" }, I wasn't aware that not having the package name before a : would infer its own subpackage.
Dec 12 2014
On 12/12/2014 5:58 PM, Rikki Cattermole wrote:On 13/12/2014 2:53 p.m., Walter Bright wrote:Thanks, I added "dmdscript" before the : and it registered.What does that mean? There is no "package name" field in the dub.json file."dependencies": { ":engine" : "*", ":ds" : "*", ":ds-ext": "*" }, I wasn't aware that not having the package name before a : would infer its own subpackage.
Dec 12 2014
On 12/13/2014 02:53 AM, Walter Bright wrote:Dmitry Olshansky has graciously ported DMDScript (a Javascript engine written in D) to D2. https://github.com/DigitalMars/DMDScript I have been trying to get it into dub, but have been stalled by the following when I attempt to register: Repository owner: DigitalMars Repository name: DMDScript it says in red: Package names may not be empty. Check dub.json. What does that mean? There is no "package name" field in the dub.json file.You should the full error, it says. Branch ~test: Package names may not be empty. Check dub.json.
Dec 14 2014
On 12/14/2014 8:53 PM, Martin Nowak wrote:On 12/13/2014 02:53 AM, Walter Bright wrote:That's a new error, I fixed the original per Rikki's advice. I don't understand it, either. Shouldn't it be looking at master, not branch test?Dmitry Olshansky has graciously ported DMDScript (a Javascript engine written in D) to D2. https://github.com/DigitalMars/DMDScript I have been trying to get it into dub, but have been stalled by the following when I attempt to register: Repository owner: DigitalMars Repository name: DMDScript it says in red: Package names may not be empty. Check dub.json. What does that mean? There is no "package name" field in the dub.json file.You should the full error, it says. Branch ~test: Package names may not be empty. Check dub.json.
Dec 14 2014
On 15/12/2014 7:12 p.m., Walter Bright wrote:On 12/14/2014 8:53 PM, Martin Nowak wrote:Test branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json Master branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json Same issue, just hasn't been updated.On 12/13/2014 02:53 AM, Walter Bright wrote:That's a new error, I fixed the original per Rikki's advice. I don't understand it, either. Shouldn't it be looking at master, not branch test?Dmitry Olshansky has graciously ported DMDScript (a Javascript engine written in D) to D2. https://github.com/DigitalMars/DMDScript I have been trying to get it into dub, but have been stalled by the following when I attempt to register: Repository owner: DigitalMars Repository name: DMDScript it says in red: Package names may not be empty. Check dub.json. What does that mean? There is no "package name" field in the dub.json file.You should the full error, it says. Branch ~test: Package names may not be empty. Check dub.json.
Dec 14 2014
On 12/14/2014 10:21 PM, Rikki Cattermole wrote:On 15/12/2014 7:12 p.m., Walter Bright wrote:How do I get dub to stop looking at the test branch?Test branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json Master branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json Same issue, just hasn't been updated.Branch ~test: Package names may not be empty. Check dub.json.That's a new error, I fixed the original per Rikki's advice. I don't understand it, either. Shouldn't it be looking at master, not branch test?
Dec 14 2014
On 15/12/2014 8:44 p.m., Walter Bright wrote:On 12/14/2014 10:21 PM, Rikki Cattermole wrote:Dammit looks like I posted test branch link as both. Dub shouldn't be looking for the branch unless its explicitly told to. The test branch is wrong for the dub files. Master is correct. However if your git repo locally is on test branch then just change to master. TLDR $ git checkout master And most likely want to merge changes for dub files back into test branch from master.On 15/12/2014 7:12 p.m., Walter Bright wrote:How do I get dub to stop looking at the test branch?Test branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json Master branch: https://github.com/DigitalMars/DMDScript/blob/test/dub.json Same issue, just hasn't been updated.Branch ~test: Package names may not be empty. Check dub.json.That's a new error, I fixed the original per Rikki's advice. I don't understand it, either. Shouldn't it be looking at master, not branch test?
Dec 15 2014
On 2014-12-15 08:44, Walter Bright wrote:How do I get dub to stop looking at the test branch?I've complained about this before. As far as I know it's not currently possible. I would rather tell dub myself which versions are available. Not making all tags available that match a pattern. -- /Jacob Carlborg
Dec 15 2014
On 12/15/2014 09:31 AM, Jacob Carlborg wrote:I've complained about this before. As far as I know it's not currently possible. I would rather tell dub myself which versions are available. Not making all tags available that match a pattern.Well here is the code https://github.com/D-Programming-Language/dub-registry, right?
Dec 15 2014
On 2014-12-15 09:41, Martin Nowak wrote:Well here is the code https://github.com/D-Programming-Language/dub-registry, right?I don't have time to work on every single project myself. -- /Jacob Carlborg
Dec 15 2014
On 12/15/2014 12:31 AM, Jacob Carlborg wrote:On 2014-12-15 08:44, Walter Bright wrote:Would it work if I deleted the tags from the test branch?How do I get dub to stop looking at the test branch?I've complained about this before. As far as I know it's not currently possible. I would rather tell dub myself which versions are available. Not making all tags available that match a pattern.
Dec 15 2014
On 2014-12-15 10:12, Walter Bright wrote:Would it work if I deleted the tags from the test branch?I don't know, at least previously Dub tracked branches as well. -- /Jacob Carlborg
Dec 15 2014
On 12/15/2014 10:12 AM, Walter Bright wrote:Would it work if I deleted the tags from the test branch?Deleting the dub.json on the test branch should work. But you can also leave things as they are, the test branch isn't available. http://code.dlang.org/packages/dmdscript
Dec 15 2014
On 12/15/2014 8:49 AM, Martin Nowak wrote:On 12/15/2014 10:12 AM, Walter Bright wrote:Ok, guess I'll leave it be, then!Would it work if I deleted the tags from the test branch?Deleting the dub.json on the test branch should work. But you can also leave things as they are, the test branch isn't available. http://code.dlang.org/packages/dmdscript
Dec 15 2014