You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (JIRA)" <ji...@apache.org> on 2012/11/02 19:53:12 UTC

[jira] [Created] (SLING-2647) Track Import Progress

Dan Klco created SLING-2647:
-------------------------------

             Summary: Track Import Progress
                 Key: SLING-2647
                 URL: https://issues.apache.org/jira/browse/SLING-2647
             Project: Sling
          Issue Type: Sub-task
          Components: Extensions
            Reporter: Dan Klco
            Priority: Minor


We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SLING-2647) Track Import Progress

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

Dan Klco updated SLING-2647:
----------------------------

    Attachment: SLING-2647-Track-Progress.diff

Attached is a patch for tracking the progress.  I also removed the check to make sure that the import path ends with jcr_root.  I would think you'd often want to import just a subtree of the overall Repo.
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2647) Track Import Progress

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489694#comment-13489694 ] 

Antonio Sanso commented on SLING-2647:
--------------------------------------

the logic implemented in the import  is that actually the remote path (/apps/example) is appended to the destination source  C:/workspace/project-name/jcr_root  so it should be fine.

Another thing to "remember" is that a file is saved back in the repository only if is under jcr_root
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2647) Track Import Progress

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489661#comment-13489661 ] 

Antonio Sanso commented on SLING-2647:
--------------------------------------

Thanks for the patch Dan,
Actually the jcr_root is not the source but the destination to the file system.

If you agree I'd like to keep because is important that this match with the / of the repository....
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SLING-2647) Track Import Progress

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

Antonio Sanso resolved SLING-2647.
----------------------------------

    Resolution: Fixed
    
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (SLING-2647) Track Import Progress

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

Antonio Sanso reassigned SLING-2647:
------------------------------------

    Assignee: Antonio Sanso
    
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2647) Track Import Progress

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489681#comment-13489681 ] 

Antonio Sanso commented on SLING-2647:
--------------------------------------

Yep I agree.
Let say you want to import 
/apps/example to C:/workspace/project-name/jcr_root

all the content of /apps/example will be saved under C:/workspace/project-name/jcr_root/apps/example

the jcr_root is just a spread used convention to say that this part of the project is a "repository part" while the other paths inside the project are not tight to the repository.
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2647) Track Import Progress

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490530#comment-13490530 ] 

Antonio Sanso commented on SLING-2647:
--------------------------------------

Applying patch from Dan Kico in revision #1405718
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (SLING-2647) Track Import Progress

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490530#comment-13490530 ] 

Antonio Sanso edited comment on SLING-2647 at 11/5/12 9:30 AM:
---------------------------------------------------------------

Applying patch from Dan Kico in revision #1405718. Thanks!
                
      was (Author: asanso):
    Applying patch from Dan Kico in revision #1405718
                  
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2647) Track Import Progress

Posted by "Dan Klco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489693#comment-13489693 ] 

Dan Klco commented on SLING-2647:
---------------------------------

Right, that makes sense, so should it do a contains() rather than an endsWith()?
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2647) Track Import Progress

Posted by "Dan Klco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489667#comment-13489667 ] 

Dan Klco commented on SLING-2647:
---------------------------------

I wouldn't see a scenario where I would want to export the entire repository.  It seems a lot more likely that I would want to export only the portion of the repository I'm working on. 
                
> Track Import Progress
> ---------------------
>
>                 Key: SLING-2647
>                 URL: https://issues.apache.org/jira/browse/SLING-2647
>             Project: Sling
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Dan Klco
>            Assignee: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2647-Track-Progress.diff
>
>
> We should track the progress of imports by using Jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira