SumType in Phobos?
Petar
Petar
Wed Feb 19 12:03:52 UTC 2020
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.
More information about the Digitalmars-d
mailing list