« Return to Thread: Snapshot deployments working even though should be disabled by artifactory config

Re: Snapshot deployments working even thoughshould be disabled by artifactory config

by Yoav Landman :: Rate this Message:

Reply to Author | View in Thread

We managed to reproduce this: the check was against non-pom files (so in any case, you could not deploy a binary into the wrong repository).
Thanks for reporting this.
Fixed in trunk. See: http://www.jfrog.org/jira/browse/RTFACT-457

On Thu, Jul 3, 2008 at 11:24 PM, Franklin, Martin (SD) <MFranklin@...> wrote:

I also tested this against beta 1.3.0-beta-2 and it also does not generate a failure.

 

Martin

 

From: artifactory-users-bounces@... [mailto:artifactory-users-bounces@...] On Behalf Of Yoav Landman
Sent: Thursday, July 03, 2008 11:02 AM
To: artifactory-users@...
Subject: Re: [Artifactory-users] Snapshot deployments working even thoughshould be disabled by artifactory config

 

It should definitely fail. We will try to reproduce it and open a JIRA issue if that's the case. I'll post an update.

On Wed, Jul 2, 2008 at 9:48 PM, Franklin, Martin (SD) <MFranklin@...> wrote:

Here's a line from my log

 

127.0.0.1 -  -  [02/Jul/2008:18:43:20 +0000] "PUT /repository/empty/com/intuit/xpatt/monitor/1.0-SNAPSHOT/monitor-1.0-20080702.184313-1.pom.sha1 HTTP/1.1" 200 0

 

This successfully deployed a snapshot pom file to my 'empty' repository.

 

Here's the configuration for my 'empty' repository

 

<localRepository>

                                    <key>empty</key>

                                    <handleReleases>true</handleReleases>

                                    <handleSnapshots>false</handleSnapshots>

                        </localRepository>

 

Handle snapshots is set to false.

 

Shouldn't this deployment fail? – This is with 1.2.5u1.

 

This is not my expected behavior. Should we be doing anything else?

 

Thanks

 

Martin


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Snapshot deployments working even though should be disabled by artifactory config

LightInTheBox - Buy quality products at wholesale price!