Question about auto-deleting SNAPSHOT on release

View: New views
4 Messages — Rating Filter:   Alert me  

Question about auto-deleting SNAPSHOT on release

by MALICE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I was wondering, if I release a project and have this automatic deletion
enabled, will Nexus delete ALL my old SNAPSHOTs or only the one that has the
same version-number s my release?

Example, I'm working on a project, that currently has version 0.0.3-SNAPSHOT,
but because it is so different from the 0.0.2 release, we will probably
release it as 0.1.0. Now, can Nexus handle this deletion or do I need to
manually delete my SNAPSHOTs?

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@...
Web: www.cfc.at

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...


Re: Question about auto-deleting SNAPSHOT on release

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

no, the task will delete only the corresponding X version, not the X, X-1, .... 

For example, you have released 1.0.2 of an artifact, the purge snapshots (if option checked) will delete only 1.0.2-SNAPSHOTS, but 1.0.1-SNAPSHOT and 1.0.0-SNAPSHOT will not be touched.

This is the safest to do, since versioning schemes do differ between groups/corps very much, and we saw some very strange ones. If you "jump" a version up, you should clean up manually.


Thanks,
~t~

On Fri, Sep 11, 2009 at 5:47 PM, Roland Asmann <Roland.Asmann@...> wrote:
Hi all,

I was wondering, if I release a project and have this automatic deletion
enabled, will Nexus delete ALL my old SNAPSHOTs or only the one that has the
same version-number s my release?

Example, I'm working on a project, that currently has version 0.0.3-SNAPSHOT,
but because it is so different from the 0.0.2 release, we will probably
release it as 0.1.0. Now, can Nexus handle this deletion or do I need to
manually delete my SNAPSHOTs?

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@...
Web: www.cfc.at

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Question about auto-deleting SNAPSHOT on release

by MALICE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, thanks for the explanation.

Would it be possible to implement this as a job in Nexus? I could imagine that
some people might like to have a feature like this...

I think I'll look into Nexus plugins one of these days, maybe I could write
one myself...


On Friday 11 September 2009 19:18, Tamás Cservenák wrote:

> Hi there,
> no, the task will delete only the corresponding X version, not the X, X-1,
> ....
>
> For example, you have released 1.0.2 of an artifact, the purge snapshots
> (if option checked) will delete only 1.0.2-SNAPSHOTS, but 1.0.1-SNAPSHOT
> and 1.0.0-SNAPSHOT will not be touched.
>
> This is the safest to do, since versioning schemes do differ between
> groups/corps very much, and we saw some very strange ones. If you "jump" a
> version up, you should clean up manually.
>
>
> Thanks,
> ~t~
>
> On Fri, Sep 11, 2009 at 5:47 PM, Roland Asmann <Roland.Asmann@...> wrote:
> > Hi all,
> >
> > I was wondering, if I release a project and have this automatic deletion
> > enabled, will Nexus delete ALL my old SNAPSHOTs or only the one that has
> > the
> > same version-number s my release?
> >
> > Example, I'm working on a project, that currently has version
> > 0.0.3-SNAPSHOT,
> > but because it is so different from the 0.0.2 release, we will probably
> > release it as 0.1.0. Now, can Nexus handle this deletion or do I need to
> > manually delete my SNAPSHOTs?
> >
> > --
> > Roland Asmann
> >
> > CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> > Bäckerstrasse 1/2/7
> > A-1010 Wien
> > FN 266155f, Handelsgericht Wien
> >
> > Tel.: +43/1/513 88 77 - 27
> > Fax.: +43/1/513 88 62
> > Email: Roland.Asmann@...
> > Web: www.cfc.at
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: nexus-user-unsubscribe@...
> > For additional commands, e-mail: nexus-user-help@...

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@...
Web: www.cfc.at

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...


Re: Question about auto-deleting SNAPSHOT on release

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, yes, you can create a plugin contributing only a new task to do this. You can look at existing tasks how are they implemented.

Thanks,
~t~

On Fri, Sep 11, 2009 at 7:23 PM, Roland Asmann <Roland.Asmann@...> wrote:
OK, thanks for the explanation.

Would it be possible to implement this as a job in Nexus? I could imagine that
some people might like to have a feature like this...

I think I'll look into Nexus plugins one of these days, maybe I could write
one myself...


On Friday 11 September 2009 19:18, Tamás Cservenák wrote:
> Hi there,
> no, the task will delete only the corresponding X version, not the X, X-1,
> ....
>
> For example, you have released 1.0.2 of an artifact, the purge snapshots
> (if option checked) will delete only 1.0.2-SNAPSHOTS, but 1.0.1-SNAPSHOT
> and 1.0.0-SNAPSHOT will not be touched.
>
> This is the safest to do, since versioning schemes do differ between
> groups/corps very much, and we saw some very strange ones. If you "jump" a
> version up, you should clean up manually.
>
>
> Thanks,
> ~t~
>
> On Fri, Sep 11, 2009 at 5:47 PM, Roland Asmann <Roland.Asmann@...> wrote:
> > Hi all,
> >
> > I was wondering, if I release a project and have this automatic deletion
> > enabled, will Nexus delete ALL my old SNAPSHOTs or only the one that has
> > the
> > same version-number s my release?
> >
> > Example, I'm working on a project, that currently has version
> > 0.0.3-SNAPSHOT,
> > but because it is so different from the 0.0.2 release, we will probably
> > release it as 0.1.0. Now, can Nexus handle this deletion or do I need to
> > manually delete my SNAPSHOTs?
> >
> > --
> > Roland Asmann
> >
> > CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> > Bäckerstrasse 1/2/7
> > A-1010 Wien
> > FN 266155f, Handelsgericht Wien
> >
> > Tel.: +43/1/513 88 77 - 27
> > Fax.: +43/1/513 88 62
> > Email: Roland.Asmann@...
> > Web: www.cfc.at
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: nexus-user-unsubscribe@...
> > For additional commands, e-mail: nexus-user-help@...

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@...
Web: www.cfc.at

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...