You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/09/09 00:28:31 UTC

[jira] Created: (MRM-1249) Archiva does not respect configuration of the index directory

Archiva does not respect configuration of the index directory
-------------------------------------------------------------

                 Key: MRM-1249
                 URL: http://jira.codehaus.org/browse/MRM-1249
             Project: Archiva
          Issue Type: Bug
          Components: indexing
    Affects Versions: 1.2.2
         Environment: Archiva 1.2.2
            Reporter: Wendy Smoak


I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:

/java/apache-archiva-1.2.2
$ ls -la data/repositories/internal/.index/
total 7
drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
-rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
-rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
-rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
-rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip

This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.



-- 
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-1249) Archiva does not respect configuration of the index directory

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

Maria Odea Ching updated MRM-1249:
----------------------------------

    Fix Version/s:     (was: 1.2.3)
                   1.3

> Archiva does not respect configuration of the index directory
> -------------------------------------------------------------
>
>                 Key: MRM-1249
>                 URL: http://jira.codehaus.org/browse/MRM-1249
>             Project: Archiva
>          Issue Type: Bug
>          Components: documentation, indexing
>    Affects Versions: 1.2.2
>         Environment: Archiva 1.2.2
>            Reporter: Wendy Smoak
>            Assignee: Maria Odea Ching
>             Fix For: 1.3
>
>
> I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:
> /java/apache-archiva-1.2.2
> $ ls -la data/repositories/internal/.index/
> total 7
> drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
> drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
> -rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
> -rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
> -rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
> -rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip
> This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.

-- 
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-1249) Archiva does not respect configuration of the index directory

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

Wendy Smoak updated MRM-1249:
-----------------------------

    Component/s: documentation

Okay, then it needs to be clarified in the documentation, since when I configure the index directory, I expect all index-related stuff to go there.

Actually I can't find anything about the index directory:  http://www.google.com/search?q=site:archiva.apache.org+index+directory

> Archiva does not respect configuration of the index directory
> -------------------------------------------------------------
>
>                 Key: MRM-1249
>                 URL: http://jira.codehaus.org/browse/MRM-1249
>             Project: Archiva
>          Issue Type: Bug
>          Components: documentation, indexing
>    Affects Versions: 1.2.2
>         Environment: Archiva 1.2.2
>            Reporter: Wendy Smoak
>             Fix For: 1.2.3
>
>
> I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:
> /java/apache-archiva-1.2.2
> $ ls -la data/repositories/internal/.index/
> total 7
> drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
> drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
> -rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
> -rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
> -rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
> -rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip
> This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.

-- 
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-1249) Archiva does not respect configuration of the index directory

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

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

Updated the Repositories docs to include the index directory field including what it is used for and also the non-configurable .index dir, in trunk -r816099. Would this be sufficient enough to close the issue?

> Archiva does not respect configuration of the index directory
> -------------------------------------------------------------
>
>                 Key: MRM-1249
>                 URL: http://jira.codehaus.org/browse/MRM-1249
>             Project: Archiva
>          Issue Type: Bug
>          Components: documentation, indexing
>    Affects Versions: 1.2.2
>         Environment: Archiva 1.2.2
>            Reporter: Wendy Smoak
>             Fix For: 1.2.3
>
>
> I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:
> /java/apache-archiva-1.2.2
> $ ls -la data/repositories/internal/.index/
> total 7
> drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
> drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
> -rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
> -rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
> -rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
> -rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip
> This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.

-- 
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-1249) Archiva does not respect configuration of the index directory

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

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

The actual index is the one in the Index Directory configured for the repository while the .index created inside the repository contains the packaged index. I'm not sure if we can set this to be configurable as well because I think certain consumers of the Nexus index such as m2eclipse looks for the zipped index in the .index directory at the root of the repository directory.

> Archiva does not respect configuration of the index directory
> -------------------------------------------------------------
>
>                 Key: MRM-1249
>                 URL: http://jira.codehaus.org/browse/MRM-1249
>             Project: Archiva
>          Issue Type: Bug
>          Components: indexing
>    Affects Versions: 1.2.2
>         Environment: Archiva 1.2.2
>            Reporter: Wendy Smoak
>             Fix For: 1.2.3
>
>
> I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:
> /java/apache-archiva-1.2.2
> $ ls -la data/repositories/internal/.index/
> total 7
> drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
> drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
> -rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
> -rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
> -rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
> -rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip
> This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.

-- 
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-1249) Archiva does not respect configuration of the index directory

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

Maria Odea Ching updated MRM-1249:
----------------------------------

    Fix Version/s: 1.2.3

> Archiva does not respect configuration of the index directory
> -------------------------------------------------------------
>
>                 Key: MRM-1249
>                 URL: http://jira.codehaus.org/browse/MRM-1249
>             Project: Archiva
>          Issue Type: Bug
>          Components: indexing
>    Affects Versions: 1.2.2
>         Environment: Archiva 1.2.2
>            Reporter: Wendy Smoak
>             Fix For: 1.2.3
>
>
> I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:
> /java/apache-archiva-1.2.2
> $ ls -la data/repositories/internal/.index/
> total 7
> drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
> drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
> -rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
> -rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
> -rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
> -rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip
> This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.

-- 
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-1249) Archiva does not respect configuration of the index directory

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

Wendy Smoak closed MRM-1249.
----------------------------

      Assignee: Maria Odea Ching
    Resolution: Fixed

> Archiva does not respect configuration of the index directory
> -------------------------------------------------------------
>
>                 Key: MRM-1249
>                 URL: http://jira.codehaus.org/browse/MRM-1249
>             Project: Archiva
>          Issue Type: Bug
>          Components: documentation, indexing
>    Affects Versions: 1.2.2
>         Environment: Archiva 1.2.2
>            Reporter: Wendy Smoak
>            Assignee: Maria Odea Ching
>             Fix For: 1.2.3
>
>
> I configured the index directory for each repository to move the index outside of the repository directory, however in addition to the directory I configured, Archiva still creates and writes to a .index directory inside each managed repo.  The contents are:
> /java/apache-archiva-1.2.2
> $ ls -la data/repositories/internal/.index/
> total 7
> drwxr-xr-x+ 2 wsmoak ????????    0 Sep  8 15:19 .
> drwxr-xr-x+ 4 wsmoak ????????    0 Sep  8 15:19 ..
> -rwxr-xr-x  1 wsmoak ????????  162 Sep  8 15:19 nexus-maven-repository-index.1.gz
> -rwxr-xr-x  1 wsmoak ????????  262 Sep  8 15:19 nexus-maven-repository-index.gz
> -rwxr-xr-x  1 wsmoak ????????  244 Sep  8 15:19 nexus-maven-repository-index.properties
> -rwxr-xr-x  1 wsmoak ???????? 1139 Sep  8 15:19 nexus-maven-repository-index.zip
> This is a problem because I have more than one Archiva instance looking at the same managed repo, and they will step on each other writing to this same directory.

-- 
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