The Joomla! Forum ™



Forum rules


Global Rules



Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Mon Dec 17, 2012 5:45 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Tue Apr 13, 2010 7:40 pm
Posts: 1075
Location: Iowa
For comments on the blog "Feedback wanted for Joomla Compatibility Check Feature". The direct link is at:
http://developer.joomla.org/news/546-fe ... ature.html


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 7:36 am 
Joomla! Intern
Joomla! Intern

Joined: Thu Jan 04, 2007 10:32 am
Posts: 80
This is not solving the source of the problem. It is something more a user has to worry about. The problem is that joomla has to be more mature in backwards compatibility in terms of code and UI.

_________________
Looking for a responsive Joomla calendar? Give DPCalendar (http://joomla.digital-peak.com) a try!!


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 9:30 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sun Dec 13, 2009 9:00 pm
Posts: 374
Location: Switzerland
I sure like this new feature and I think it's well designed. Easy enough to understand without even reading documentation but still powerfull enough to match every possible case.

Let's build that in so users don't accidentaly break their site anymore.


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 12:10 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 25381
Location: @Webdongle
Does this mean that when Joomla is updated that if the extension manifest file does not have the correct tag that ... the extension will not be recognised by Joomla. or is it to prevent an extension being installed if it is not the correct version ?

_________________
'When I'm right nobody remembers when I'm wrong nobody forgets.'

http://weblinksonline.co.uk/joomla-faq.html
http://www.weblinksonline.co.uk/updating-joomla.html


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 12:33 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sun Dec 13, 2009 9:00 pm
Posts: 374
Location: Switzerland
It's meant that when you click the Joomla update button, there will be a warning message which will indicate that specific extensions are not compatible.
If the tags are missing, then it probably means "unknown" or will not be checked at all. But the exact UI itself is not yet decided as far as I understand it.

It's not meant to prevent installation of an extension, however it could probably used for this as well.


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 2:08 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 25381
Location: @Webdongle
Bakual wrote:
It's meant that when you click the Joomla update button, there will be a warning message which will indicate that specific extensions are not compatible....
That sounds good ... preventing the update may be a good idea because how many users ignore warnings ?

Not compatible with what ? The version of Joomla that is showing as an available update ?
i.e.
If the Joomla update option is set STS would it alert that an extension was not compatible ... but ... if it was set LTS then the exact same extension show as compatible ?

_________________
'When I'm right nobody remembers when I'm wrong nobody forgets.'

http://weblinksonline.co.uk/joomla-faq.html
http://www.weblinksonline.co.uk/updating-joomla.html


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 3:08 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sun Dec 13, 2009 9:00 pm
Posts: 374
Location: Switzerland
Webdongle wrote:
That sounds good ... preventing the update may be a good idea because how many users ignore warnings ?

Not compatible with what ? The version of Joomla that is showing as an available update ?
i.e.
If the Joomla update option is set STS would it alert that an extension was not compatible ... but ... if it was set LTS then the exact same extension show as compatible ?

As far as I know, the exact UI isn't decided yet. So it may be that the update is blocked or that there is only a warning. Both ways were discussed in the mailing list with pro and cons :-)
But I guess it makes a difference to the user if there is a generic warning "make sure your extensions are compatible" or if there is a specific warning "your installed extension 'foo bar' is not compatible with the new Joomla release, it's strongly recommended to check this extension first". Maybe even with an URL to the page containing infos about compatibility.

The compatibility tags will be checked against the version of Joomla which will be updated to. The choice of STS or LTS doesn't matter. This only decides which updates will be available. The updater always tries to update to the latest available release, and it will now check this release against the new tags of the extensions (if available).


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 4:08 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Sep 20, 2005 11:30 pm
Posts: 218
Location: Oregon
Bravo - much needed. Sounds good as proposed.

_________________
Author of component Joomla Bible Study:
http://www.JoomlaBibleStudy.org


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 7:13 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 25381
Location: @Webdongle
Thanks Bakual ... that explains it well.

_________________
'When I'm right nobody remembers when I'm wrong nobody forgets.'

http://weblinksonline.co.uk/joomla-faq.html
http://www.weblinksonline.co.uk/updating-joomla.html


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 9:28 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed Jan 25, 2006 6:37 am
Posts: 177
Location: USA
Anyone interested can already test the first draft we made few weeks ago
https://github.com/nicksavov/joomla-cms


heads up:
To test The compatibility tag for 3rd party extensions in that version , use something like:

Code:
   <compatibility>
      <version>2.5</version>
      <version>3</version>
   </compatibility>

You can use it to test the add-on for now.


We are waiting for everyone's input in order to continue and add the proposed tag variation from:
https://github.com/joomla/joomla-cms/issues/598

_________________
High Quality Joomla Templates http://www.youjoomla.com
Joomla Templates | Free Joomla Templates | Joomla Tutorials


Top
 Profile  
 
PostPosted: Tue Dec 18, 2012 10:39 am 
Joomla! Guru
Joomla! Guru

Joined: Sat Aug 20, 2005 3:15 pm
Posts: 508
Hi All,

We'been using a similar approach with sh404SEF and Josetta for some times. I'd suggest the whole <compatibility> tag is further split with a "product" tag like so:
Code:
<compatibility>
  <joomla>
 ... as described in RFC ...
  <joomla>
</compatiblity>

This opens the door to further compatibility specifications, without changing the version specification format itself. The most obvious use being for PHP or database version:
Code:
<extension>
  <compatibility>
    <joomla>
      <include>
        <versions from="2.5.8" to="2.5.99" />
        <versions from="3.0.0" to="3.99.99" />
      </include>
    <joomla>
    <php>
      <include>
        <versions from="5.3.8" />
      </include>
    <php>
    <postgres>
      <include>
        <versions from="99.9.9" />
      </include>
      <exclude>
         <versions from="0.0.0" />
      </exclude>
    <postgres>
  </compatibility>
</extension>


[EDIT]I realized reasons to include this change may not be obvious, so here is a bit more details. The current RFC is for a "version" check format, or protocol, design.
The current implementation is for checking installed extensions and warning users before upgrading Joomla to a newer version.

Now, this very same version check specification for extensions could also be used unchanged in other areas. Most notably, the Joomla installer could then check if PHP, or the database used is compatible with the current website setup prior to installing or upgrading an extension and thus maybe breaking the site.

We don't have to implement that now, but by adding an intermediary tag below <compatibility>, we ensure the same file format can be used in many other areas.

Note: The same could be achieved using an attribute (<compatiblity item="joomla">) and having multiple <compatiblity> tags, I just find it harder to read and more confusing.

[/EDIT]


Rgds

_________________
See all about sh404sef at http://dev.anything-digital.com/
I don't reply to PM anymore. Thanks for using sh404SEF


Top
 Profile  
 
PostPosted: Wed Feb 27, 2013 8:41 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Tue Apr 13, 2010 7:40 pm
Posts: 1075
Location: Iowa
Thanks for everyone's feedback! The code for RFC-598 has been implemented now, along with other improvements based on the feedback. For more information, please see the announcement at:
https://groups.google.com/d/msg/joomla- ... z1XtgL_IcJ

Kind regards,
Nick


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 



Who is online

Users browsing this forum: ChiefGoFor, Google Feedfetcher and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group