Re: Please vote for Dub integration into Sonatype Nexus

2018-03-21 Thread Andre Pany via Digitalmars-d

On Wednesday, 21 March 2018 at 15:30:57 UTC, Russel Winder wrote:
On Wed, 2018-03-21 at 11:49 +, Andre Pany via Digitalmars-d 
wrote:

[...]

[…]

[...]


JFrog have Artifactory yes, but I do not know if Bintray is 
actually something different or just a public instance of 
Artifactory. In any event Bintray is a public repository of 
stuff, with JCenter being the bit for Maven type artefacts – 
most of the people I know publish to Maven Central via JCenter 
so as to avoid Sonatype's Nexus.


I believe Maven is the wrong model for D, it is all about 
artefacts for
use in JVM-based language builds. Conan (C/C++ repository) is a 
much
better model for D, as is crates.io (Rust/Cargo repository), 
and indeed

Dub :-).


[...]


I don't feel it is a hard one or the other decision but 
possibilities.
In this direction Sönke made a very good proposal how to support 
different repositories using the existing registry attribute.


Kind regards
Andre


Re: Please vote for Dub integration into Sonatype Nexus

2018-03-21 Thread Russel Winder via Digitalmars-d
On Wed, 2018-03-21 at 11:49 +, Andre Pany via Digitalmars-d wrote:
> 
[…]
> If I understand correctly, Bintray == JFrog Artifactory. Yes it
> would be also nice if dub support is added to both solutions.
> If JFrog accepts PR on Github we could even add dub support
> on ourselfs.

JFrog have Artifactory yes, but I do not know if Bintray is actually
something different or just a public instance of Artifactory. In any
event Bintray is a public repository of stuff, with JCenter being the
bit for Maven type artefacts – most of the people I know publish to
Maven Central via JCenter so as to avoid Sonatype's Nexus.

I believe Maven is the wrong model for D, it is all about artefacts for
use in JVM-based language builds. Conan (C/C++ repository) is a much
better model for D, as is crates.io (Rust/Cargo repository), and indeed
Dub :-).

> One side information. I also created a pr for dub to support 
> maven repositories
> as dub registries. https://github.com/dlang/dub/pull/1415
> With this pull request we can use many repository solutions 
> (Nexus, Artifactory, ...)
> as dub registries.
> 
> Kind regards
> André
> 
-- 
Russel.
===
Dr Russel Winder  t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


signature.asc
Description: This is a digitally signed message part


Re: Please vote for Dub integration into Sonatype Nexus

2018-03-21 Thread Andre Pany via Digitalmars-d

On Wednesday, 21 March 2018 at 09:37:15 UTC, Russel Winder wrote:
On Tue, 2018-03-20 at 18:55 +, Dmitry Olshansky via 
Digitalmars-d wrote:

On Tuesday, 20 March 2018 at 06:48:15 UTC, Andre Pany wrote:
> Hi,
> 
> if you have by chance a Sonatype account please vote for 
> this issue to get Dub integrated into Sonatype Nexus: 
> https://issues.sonatype.org/browse/NEXUS-15560.



If we plan to extend DUB registry file format and the like 
this may be premature. But I like the initiative.


Perhaps making use of Bintray would be a better route.

I suspect hosting D-Apt on Bintray would also be possible.

I wonder if creating a Fedora RPM package repository analogous 
to D-Apt on Bintray would be feasible.


If I understand correctly, Bintray == JFrog Artifactory. Yes it
would be also nice if dub support is added to both solutions.
If JFrog accepts PR on Github we could even add dub support
on ourselfs.

One side information. I also created a pr for dub to support 
maven repositories

as dub registries. https://github.com/dlang/dub/pull/1415
With this pull request we can use many repository solutions 
(Nexus, Artifactory, ...)

as dub registries.

Kind regards
André



Re: Please vote for Dub integration into Sonatype Nexus

2018-03-21 Thread Russel Winder via Digitalmars-d
On Tue, 2018-03-20 at 18:55 +, Dmitry Olshansky via Digitalmars-d wrote:
> On Tuesday, 20 March 2018 at 06:48:15 UTC, Andre Pany wrote:
> > Hi,
> > 
> > if you have by chance a Sonatype account please vote for this 
> > issue to get Dub integrated into Sonatype Nexus: 
> > https://issues.sonatype.org/browse/NEXUS-15560.
> 
> 
> If we plan to extend DUB registry file format and the like this 
> may be premature. But I like the initiative.

Perhaps making use of Bintray would be a better route.

I suspect hosting D-Apt on Bintray would also be possible.

I wonder if creating a Fedora RPM package repository analogous to D-Apt on
Bintray would be feasible.

-- 
Russel.
==
Dr Russel Winder  t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


signature.asc
Description: This is a digitally signed message part


Re: Please vote for Dub integration into Sonatype Nexus

2018-03-20 Thread Dmitry Olshansky via Digitalmars-d

On Tuesday, 20 March 2018 at 06:48:15 UTC, Andre Pany wrote:

Hi,

if you have by chance a Sonatype account please vote for this 
issue to get Dub integrated into Sonatype Nexus: 
https://issues.sonatype.org/browse/NEXUS-15560.



If we plan to extend DUB registry file format and the like this 
may be premature. But I like the initiative.




Kind regards
André





Please vote for Dub integration into Sonatype Nexus

2018-03-20 Thread Andre Pany via Digitalmars-d

Hi,

if you have by chance a Sonatype account please vote for this 
issue to get Dub integrated into Sonatype Nexus: 
https://issues.sonatype.org/browse/NEXUS-15560.


Kind regards
André