You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2008/06/04 07:22:53 UTC

[jira] Created: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: MRM-827
                 URL: http://jira.codehaus.org/browse/MRM-827
             Project: Archiva
          Issue Type: Improvement
          Components: design, repository interface
    Affects Versions: 1.0.2, 1.0.1, 1.0, 1.1
            Reporter: Maria Odea Ching
             Fix For: 1.2


See discussion here: MRM-789

Note:
Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137441#action_137441 ] 

Maria Odea Ching commented on MRM-827:
--------------------------------------

Yep, I verified the original issue both in 1.0.2 & trunk but the repo location didn't default to the Tomcat location for me. I tried setting appserver.base & appserver.home to ${catalina.home}, and the data/repositories/internal were just appended to the value of appserver.base/appserver.home. And when I didn't set these variables, the repo location defaulted to /data/repositories/internal.

> Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-827
>                 URL: http://jira.codehaus.org/browse/MRM-827
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design, repository interface
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Maria Odea Ching
>             Fix For: 1.2
>
>
> See discussion here: MRM-789
> Note:
> Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137361#action_137361 ] 

Wendy Smoak commented on MRM-827:
---------------------------------

Also not in favor-- the directory I configure should be the directory that gets used, with nothing appended.

Has anyone confirmed the original issue, which seems to be not so much that the Tomcat install got deleted, but that the repository location _defaulted_ to the same directory as the Tomcat location?


> Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-827
>                 URL: http://jira.codehaus.org/browse/MRM-827
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design, repository interface
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Maria Odea Ching
>             Fix For: 1.2
>
>
> See discussion here: MRM-789
> Note:
> Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-827:
---------------------------------

    Fix Version/s: 1.2

> Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-827
>                 URL: http://jira.codehaus.org/browse/MRM-827
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design, repository interface
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Maria Odea Ching
>             Fix For: 1.2
>
>
> See discussion here: MRM-789
> Note:
> Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137317#action_137317 ] 

Brett Porter commented on MRM-827:
----------------------------------

I don't think this is wise, you lose the flexibility of specifying what you actually want. It also doesn't help if "repository" under the root is actually an important directory.

The default configuration should not point at a dangerous location. If someone explicitly creates a repo in a bad spot, and sets the permissions to be able to be deleted, and hits delete, and opts to delete the contents beyond the warning... they're probably pretty intent on deleting it :)



> Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-827
>                 URL: http://jira.codehaus.org/browse/MRM-827
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design, repository interface
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Maria Odea Ching
>             Fix For: 1.2
>
>
> See discussion here: MRM-789
> Note:
> Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRM-827.
----------------------------

         Assignee: Brett Porter
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.2)

I think we've confirmed the default is sensible and not harmful and put enough prevention in place to help out.

> Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-827
>                 URL: http://jira.codehaus.org/browse/MRM-827
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design, repository interface
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Maria Odea Ching
>            Assignee: Brett Porter
>
> See discussion here: MRM-789
> Note:
> Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-827) Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137319#action_137319 ] 

Maria Odea Ching commented on MRM-827:
--------------------------------------

"The default configuration should not point at a dangerous location. If someone explicitly creates a repo in a bad spot, and sets the permissions to be able to be deleted, and hits delete, and opts to delete the contents beyond the warning... they're probably pretty intent on deleting it :-) "

Yeah, this was what I've been thinking too.. and that is why we have the 'Confirm Delete' page :-)

> Use a "work" directory for the repo path (e.g. if the repo definition root is mydir/ then put the actually repo under /mydir/repository)
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-827
>                 URL: http://jira.codehaus.org/browse/MRM-827
>             Project: Archiva
>          Issue Type: Improvement
>          Components: design, repository interface
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Maria Odea Ching
>             Fix For: 1.2
>
>
> See discussion here: MRM-789
> Note:
> Review the pros and cons of this setup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira