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 2008/06/24 17:04:26 UTC

[jira] Created: (MRM-848) Pre-configured repositories initially appear to be empty

Pre-configured repositories initially appear to be empty
--------------------------------------------------------

                 Key: MRM-848
                 URL: http://jira.codehaus.org/browse/MRM-848
             Project: Archiva
          Issue Type: Improvement
          Components: repository scanning
    Affects Versions: 1.0.2
            Reporter: Wendy Smoak


If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.

I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

Gwen Harold Autencio updated MRM-848:
-------------------------------------

    Attachment: MRM-848-modified.patch

Here's another patch that checks if a repository has been scanned, by getting there ids and placing them in a list.
Thanks Miss Deng :)

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: MRM-848-modified.patch, MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

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

Hi Gwen, thanks for the patch!

I took a quick look at it and it looks good to me :) Just one comment though, maybe we could check if a repository has already been scanned in a different way? I'm a little hesitant on relying on existence of the .index directory to see if the repo has already been scanned as the indexing consumer can be disabled. Wdyt?

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144456#action_144456 ] 

Gwen Harold Autencio commented on MRM-848:
------------------------------------------

Yeah it will still scan repositories if the indexing consumer will be disabled. 
I'll try a different way on checking the repository if it has been scanned or not.
Thanks :)

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

Brett Porter updated MRM-848:
-----------------------------

         Priority: Minor  (was: Major)
         Assignee:     (was: Brett Porter)
    Fix Version/s:     (was: 1.1)
                   1.2

I'm concerned about throwing in a scan-on-startup due to the cost, and it's not trivial to detect whether a repository has already been scanned at that point of initialisation. Will take a closer look in a future version but I think this is minor.

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Priority: Minor
>             Fix For: 1.2
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

Gwen Harold Autencio updated MRM-848:
-------------------------------------

    Attachment: MRM-848.patch

Attached patch that will only scan repositories that are not scanned or that doesn't have .index folder in the repository during startup.

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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] Assigned: (MRM-848) Pre-configured repositories initially appear to be empty

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

Brett Porter reassigned MRM-848:
--------------------------------

    Assignee: Brett Porter

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Assignee: Brett Porter
>             Fix For: 1.1
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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] Assigned: (MRM-848) Pre-configured repositories initially appear to be empty

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

Maria Odea Ching reassigned MRM-848:
------------------------------------

    Assignee: Maria Odea Ching

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Assignee: Maria Odea Ching
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: MRM-848-modified.patch, MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

Maria Odea Ching closed MRM-848.
--------------------------------

    Resolution: Fixed

Patch applied in trunk -r685789.

Additional changes made:
- applied codestyle formatting
- clear queuedRepos list when task scheduler is stopped

Thanks again for the patch Gwen! 

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Assignee: Maria Odea Ching
>            Priority: Minor
>             Fix For: 1.1.2
>
>         Attachments: MRM-848-modified.patch, MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

Maria Odea Ching updated MRM-848:
---------------------------------

      Fix Version/s:     (was: 1.2)
                     1.1.2
    Patch Submitted: [Yes]

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>            Assignee: Maria Odea Ching
>            Priority: Minor
>             Fix For: 1.1.2
>
>         Attachments: MRM-848-modified.patch, MRM-848.patch
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

-- 
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-848) Pre-configured repositories initially appear to be empty

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

Brett Porter updated MRM-848:
-----------------------------

    Fix Version/s: 1.1

> Pre-configured repositories initially appear to be empty
> --------------------------------------------------------
>
>                 Key: MRM-848
>                 URL: http://jira.codehaus.org/browse/MRM-848
>             Project: Archiva
>          Issue Type: Improvement
>          Components: repository scanning
>    Affects Versions: 1.0.2
>            Reporter: Wendy Smoak
>             Fix For: 1.1
>
>
> If you pre-configure a populated repository, Archiva does not display the content immediately when you start the application.
> I think it should scan and index the repositories on startup, or possibly on the 'first' startup (when the database and index are empty.)

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