SumType in Phobos?
Ernesto Castellotti
erny.castell at gmail.com
Wed Feb 19 12:28:18 UTC 2020
On Wednesday, 19 February 2020 at 12:03:52 UTC, Petar Kirov
[ZombineDev] wrote:
> On Wednesday, 19 February 2020 at 11:42:38 UTC, Ernesto
> Castellotti wrote:
>> On Wednesday, 19 February 2020 at 11:10:02 UTC, Petar Kirov
>> [ZombineDev] wrote:
>>> 1. Downloading packages from GitHub, GitLab, BitBucket, etc.
>>> instead of storing them on the dub-registry server (or at
>>> least have this as a fallback option)
>>
>> Absolutely, I was going to modify dub to get the package
>> sources directly from git (using the classic git clone), the
>> problem is that dub-registry is not very documented and I
>> don't know exactly how it works.
>
> That's great!
>
>> Also there is the problem of making dub dependent on git, I
>> don't know if upstream would be accepted.
>
> GitHub provides an API, so you don't need to use git:
> https://developer.github.com/v3/repos/contents/#get-archive-link
>
> Other repo hosting solutions probably provide an API as well.
Yes I know the api of GitHub, but I would have liked to make it
independent from those in order to make it universal.
Using git there is also the advantage of being able to use also
with submodules, I also talked about it with Seb (he also wanted
to do the same thing, I don't know if it came to something
functional)
More information about the Digitalmars-d
mailing list