You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Derek Baum (JIRA)" <ji...@apache.org> on 2009/09/17 15:52:57 UTC

[jira] Created: (FELIX-1610) OBR repository update check is hard-coded at 7 days

OBR repository update check is hard-coded at 7 days
---------------------------------------------------

                 Key: FELIX-1610
                 URL: https://issues.apache.org/jira/browse/FELIX-1610
             Project: Felix
          Issue Type: Bug
          Components: Sigil
            Reporter: Derek Baum
            Assignee: Derek Baum
            Priority: Minor


OBR repository provided hard codes update check as 7 days.

It makes no account of file: URLs, so once it has copied a file: URL to its cache, it won't update it for 7 days.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1610) OBR repository update check is hard-coded at 7 days

Posted by "David Savage (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Savage resolved FELIX-1610.
---------------------------------

    Resolution: Fixed

> OBR repository update check is hard-coded at 7 days
> ---------------------------------------------------
>
>                 Key: FELIX-1610
>                 URL: https://issues.apache.org/jira/browse/FELIX-1610
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: Derek Baum
>            Priority: Minor
>             Fix For: sigil-1.0.0
>
>
> OBR repository provided hard codes update check as 7 days.
> It makes no account of file: URLs, so once it has copied a file: URL to its cache, it won't update it for 7 days.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1610) OBR repository update check is hard-coded at 7 days

Posted by "David Savage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756551#action_12756551 ] 

David Savage commented on FELIX-1610:
-------------------------------------

Note the obr repository has been updated so that it now doesn't cache file urls - it just reuses the existing artifact. Should still remove the hardcoded timeout though.

We should be able to use the obr <repository lastmodified='20090914041009.068' tag to test if the repo is up to date - however might need to do some work with buffered streams, as current parser is implemented as SAX..., or of course could change parsing logic to STaX to allow for early break out if repo is up to date?

> OBR repository update check is hard-coded at 7 days
> ---------------------------------------------------
>
>                 Key: FELIX-1610
>                 URL: https://issues.apache.org/jira/browse/FELIX-1610
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: Derek Baum
>            Assignee: Derek Baum
>            Priority: Minor
>
> OBR repository provided hard codes update check as 7 days.
> It makes no account of file: URLs, so once it has copied a file: URL to its cache, it won't update it for 7 days.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-1610) OBR repository update check is hard-coded at 7 days

Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Derek Baum reassigned FELIX-1610:
---------------------------------

    Assignee:     (was: Derek Baum)

main problem is already resolved, by previous refactoring of repo cache.
this issue is now just reminder to remove hard-coded 7-day expiry.

> OBR repository update check is hard-coded at 7 days
> ---------------------------------------------------
>
>                 Key: FELIX-1610
>                 URL: https://issues.apache.org/jira/browse/FELIX-1610
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: Derek Baum
>            Priority: Minor
>
> OBR repository provided hard codes update check as 7 days.
> It makes no account of file: URLs, so once it has copied a file: URL to its cache, it won't update it for 7 days.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1610) OBR repository update check is hard-coded at 7 days

Posted by "David Savage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893555#action_12893555 ] 

David Savage commented on FELIX-1610:
-------------------------------------

partial fix added - updatePeriod is now at least configurable will raise new issue for improvement to lastmodified/url connection timestamp

> OBR repository update check is hard-coded at 7 days
> ---------------------------------------------------
>
>                 Key: FELIX-1610
>                 URL: https://issues.apache.org/jira/browse/FELIX-1610
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: Derek Baum
>            Priority: Minor
>             Fix For: sigil-1.0.0
>
>
> OBR repository provided hard codes update check as 7 days.
> It makes no account of file: URLs, so once it has copied a file: URL to its cache, it won't update it for 7 days.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.