You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2005/10/02 21:42:47 UTC

[jira] Created: (FOR-697) rename [format]2[format].xsl files

rename [format]2[format].xsl files
----------------------------------

         Key: FOR-697
         URL: http://issues.apache.org/jira/browse/FOR-697
     Project: Forrest
        Type: Sub-task
    Reporter: Ross Gardler
     Fix For: 0.8-dev


There were two ways of naming XSL files that converted files from one format to another. Some were called [format]2[format].xsl, others were called [format]to][format].xsl

In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).

However, this is not an easy job until all sitemaps have been converted, hence this sub-task

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


Re: [jira] Created: (FOR-697) rename [format]2[format].xsl files

Posted by Ross Gardler <rg...@apache.org>.
Diwaker Gupta wrote:
>>In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).
> 
> 
> Yes, I think we should use some more characters for clarity in file
> names. Personally I prefer dashes over underscores -- they don't get
> lost in emails (some clients will convert underscores to underlines)
> and they are easier to type (one less key :D). So something like
> [format]-to-[format].xsl (eg: docv10-to-docv11.xsl)

+1

Ross

Re: [jira] Created: (FOR-697) rename [format]2[format].xsl files

Posted by Diwaker Gupta <di...@apache.org>.
> In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).

Yes, I think we should use some more characters for clarity in file
names. Personally I prefer dashes over underscores -- they don't get
lost in emails (some clients will convert underscores to underlines)
and they are easier to type (one less key :D). So something like
[format]-to-[format].xsl (eg: docv10-to-docv11.xsl)

--
Web/Blog/Gallery: floatingsun.net

Re: remove old views (Was: [jira] Commented: (FOR-697))

Posted by Thorsten Scherler <th...@apache.org>.
El vie, 11-11-2005 a las 16:12 +0000, Ross Gardler escribió:
> Thorsten Scherler wrote:
> > El vie, 11-11-2005 a las 13:35 +0000, Ross Gardler escribió:
> > 
> >>Thorsten Scherler wrote:
> >>
> >>>El vie, 11-11-2005 a las 22:00 +1100, David Crossley escribió:
> >>>
> >>>
> >>>>Ross Gardler (JIRA) wrote:
> >>>>
> >>>>
> >>>>>   [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 
> >>>>>
> >>>>>Ross Gardler commented on FOR-697:
> >>>>>----------------------------------
> >>>>>
> >>>>>There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.
> >>>>
> >>>>I presume that "views 1" will be removed before 0.8 release.
> >>>>
> >>>>-David
> >>>
> >>>
> >>>+1
> >>>
> >>>Being close to write down recent changes of contracts in the dispatcher
> >>>howtos. Then we should remove views v1.
> >>
> >>Will veiews 1 sites work in views2 or is there some modification needed?
> > 
> > 
> > Hmm, crap, you are right v1 views.fv do not work in v2 any more (no
> > default data model!). 
> 
> I wouldn't worry about that. There are only a few people using them, 
> just as long as we have an upgrade document it'll be fine (in my 
> opinion). This is whiteboard stuff after all.
> 

Yeah, will write a paragraph or two. ;-)

salu2

> Ross
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: remove old views (Was: [jira] Commented: (FOR-697))

Posted by Ross Gardler <rg...@apache.org>.
Thorsten Scherler wrote:
> El vie, 11-11-2005 a las 13:35 +0000, Ross Gardler escribió:
> 
>>Thorsten Scherler wrote:
>>
>>>El vie, 11-11-2005 a las 22:00 +1100, David Crossley escribió:
>>>
>>>
>>>>Ross Gardler (JIRA) wrote:
>>>>
>>>>
>>>>>   [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 
>>>>>
>>>>>Ross Gardler commented on FOR-697:
>>>>>----------------------------------
>>>>>
>>>>>There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.
>>>>
>>>>I presume that "views 1" will be removed before 0.8 release.
>>>>
>>>>-David
>>>
>>>
>>>+1
>>>
>>>Being close to write down recent changes of contracts in the dispatcher
>>>howtos. Then we should remove views v1.
>>
>>Will veiews 1 sites work in views2 or is there some modification needed?
> 
> 
> Hmm, crap, you are right v1 views.fv do not work in v2 any more (no
> default data model!). 

I wouldn't worry about that. There are only a few people using them, 
just as long as we have an upgrade document it'll be fine (in my 
opinion). This is whiteboard stuff after all.

Ross


Re: remove old views (Was: [jira] Commented: (FOR-697))

Posted by Thorsten Scherler <th...@apache.org>.
El vie, 11-11-2005 a las 13:35 +0000, Ross Gardler escribió:
> Thorsten Scherler wrote:
> > El vie, 11-11-2005 a las 22:00 +1100, David Crossley escribió:
> > 
> >>Ross Gardler (JIRA) wrote:
> >>
> >>>    [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 
> >>>
> >>>Ross Gardler commented on FOR-697:
> >>>----------------------------------
> >>>
> >>>There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.
> >>
> >>I presume that "views 1" will be removed before 0.8 release.
> >>
> >>-David
> > 
> > 
> > +1
> > 
> > Being close to write down recent changes of contracts in the dispatcher
> > howtos. Then we should remove views v1.
> 
> Will veiews 1 sites work in views2 or is there some modification needed?

Hmm, crap, you are right v1 views.fv do not work in v2 any more (no
default data model!). 

> 
> (this is a general question, I am +1 on the removal)

so how should we do it? ATM I do not know a simple way to have downwards
compatibility.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: remove old views (Was: [jira] Commented: (FOR-697))

Posted by Diwaker Gupta <di...@apache.org>.
> Will veiews 1 sites work in views2 or is there some modification needed?
>
> (this is a general question, I am +1 on the removal)

Automatically? No.

With really little effort? Yes. I was running v1 on my website and now
it runs v2.

--
Web/Blog/Gallery: floatingsun.net

Re: remove old views (Was: [jira] Commented: (FOR-697))

Posted by Ross Gardler <rg...@apache.org>.
Thorsten Scherler wrote:
> El vie, 11-11-2005 a las 22:00 +1100, David Crossley escribió:
> 
>>Ross Gardler (JIRA) wrote:
>>
>>>    [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 
>>>
>>>Ross Gardler commented on FOR-697:
>>>----------------------------------
>>>
>>>There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.
>>
>>I presume that "views 1" will be removed before 0.8 release.
>>
>>-David
> 
> 
> +1
> 
> Being close to write down recent changes of contracts in the dispatcher
> howtos. Then we should remove views v1.

Will veiews 1 sites work in views2 or is there some modification needed?

(this is a general question, I am +1 on the removal)

Ross


Re: remove old views (Was: [jira] Commented: (FOR-697))

Posted by Thorsten Scherler <th...@apache.org>.
El vie, 11-11-2005 a las 22:00 +1100, David Crossley escribió:
> Ross Gardler (JIRA) wrote:
> >     [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 
> > 
> > Ross Gardler commented on FOR-697:
> > ----------------------------------
> > 
> > There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.
> 
> I presume that "views 1" will be removed before 0.8 release.
> 
> -David

+1

Being close to write down recent changes of contracts in the dispatcher
howtos. Then we should remove views v1.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


remove old views (Was: [jira] Commented: (FOR-697))

Posted by David Crossley <cr...@apache.org>.
Ross Gardler (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 
> 
> Ross Gardler commented on FOR-697:
> ----------------------------------
> 
> There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.

I presume that "views 1" will be removed before 0.8 release.

-David

[jira] Commented: (FOR-697) rename [format]2[format].xsl files

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12331977 ] 

Ross Gardler commented on FOR-697:
----------------------------------

Much of this work has been done by Diwaker, just need to do a check to ensure all files have been renamed and all references to them have been updated.

> rename [format]2[format].xsl files
> ----------------------------------
>
>          Key: FOR-697
>          URL: http://issues.apache.org/jira/browse/FOR-697
>      Project: Forrest
>         Type: Sub-task
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> There were two ways of naming XSL files that converted files from one format to another. Some were called [format]2[format].xsl, others were called [format]to][format].xsl
> In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).
> However, this is not an easy job until all sitemaps have been converted, hence this sub-task

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


Re: [jira] Resolved: (FOR-697) rename [format]2[format].xsl files

Posted by Ross Gardler <rg...@apache.org>.
Diwaker Gupta (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/FOR-697?page=all ]
>      
> Diwaker Gupta resolved FOR-697:
> -------------------------------
> 
>     Resolution: Fixed
> 
> Works with v2 and regular "forrest seed". I haven't checked with v1 yet, but should work fine.
> 

Not sure we can mark this as resolved until all duplicates have been 
removed and v1 is either tested or removed.

Ross

[jira] Resolved: (FOR-697) rename [format]2[format].xsl files

Posted by "Diwaker Gupta (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-697?page=all ]
     
Diwaker Gupta resolved FOR-697:
-------------------------------

    Resolution: Fixed

Works with v2 and regular "forrest seed". I haven't checked with v1 yet, but should work fine.

> rename [format]2[format].xsl files
> ----------------------------------
>
>          Key: FOR-697
>          URL: http://issues.apache.org/jira/browse/FOR-697
>      Project: Forrest
>         Type: Sub-task
>   Components: Locationmap
>     Reporter: Ross Gardler
>     Assignee: Diwaker Gupta
>      Fix For: 0.8-dev

>
> There were two ways of naming XSL files that converted files from one format to another. Some were called [format]2[format].xsl, others were called [format]to][format].xsl
> In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).
> However, this is not an easy job until all sitemaps have been converted, hence this sub-task

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


[jira] Assigned: (FOR-697) rename [format]2[format].xsl files

Posted by "Diwaker Gupta (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-697?page=all ]

Diwaker Gupta reassigned FOR-697:
---------------------------------

    Assign To: Diwaker Gupta

> rename [format]2[format].xsl files
> ----------------------------------
>
>          Key: FOR-697
>          URL: http://issues.apache.org/jira/browse/FOR-697
>      Project: Forrest
>         Type: Sub-task
>   Components: Locationmap
>     Reporter: Ross Gardler
>     Assignee: Diwaker Gupta
>      Fix For: 0.8-dev

>
> There were two ways of naming XSL files that converted files from one format to another. Some were called [format]2[format].xsl, others were called [format]to][format].xsl
> In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).
> However, this is not an easy job until all sitemaps have been converted, hence this sub-task

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


[jira] Commented: (FOR-697) rename [format]2[format].xsl files

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-697?page=comments#action_12357370 ] 

Ross Gardler commented on FOR-697:
----------------------------------

There are duplicate styesheets in the skins directory as a hack to make views 1 work. views 1 should be modified to use the new names or to use the locationmap.

> rename [format]2[format].xsl files
> ----------------------------------
>
>          Key: FOR-697
>          URL: http://issues.apache.org/jira/browse/FOR-697
>      Project: Forrest
>         Type: Sub-task
>   Components: Locationmap
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> There were two ways of naming XSL files that converted files from one format to another. Some were called [format]2[format].xsl, others were called [format]to][format].xsl
> In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).
> However, this is not an easy job until all sitemaps have been converted, hence this sub-task

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


[jira] Updated: (FOR-697) rename [format]2[format].xsl files

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-697?page=all ]

Tim Williams updated FOR-697:
-----------------------------

    Component: Locationmap

> rename [format]2[format].xsl files
> ----------------------------------
>
>          Key: FOR-697
>          URL: http://issues.apache.org/jira/browse/FOR-697
>      Project: Forrest
>         Type: Sub-task
>   Components: Locationmap
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> There were two ways of naming XSL files that converted files from one format to another. Some were called [format]2[format].xsl, others were called [format]to][format].xsl
> In converting all sitemaps to the locationmap this has been standardised to [format]2[format].xsl, which in retrospect is the wrong way around since some formats have a version number, resulting in files such as docv102docv11.xsl, which is rather confusing. These files should be standardised to [format]to][format].xsl instead (or even [format]_to_][format].xsl for clarity).
> However, this is not an easy job until all sitemaps have been converted, hence this sub-task

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