New QA constant

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
User avatar
John Hjorth
Registered User
Posts: 235
Joined: Tue May 09, 2006 3:32 pm
Location: Odense, Denmark, EU
Contact:

New QA constant

Post by John Hjorth »

In the topic "Suspecting Gold very soon" fberci wrote :
fberci wrote:Well, I don't think this will be a real RC like all the others were. This will be more like a pre-gold release. As you may remember, there were some hints that starting from 3.0.0 every minor release would also have a release candidate to make sure there aren't any annoying obvious bugs in the software (like there were in phpBB 3.0.RC6 and if I remember correctly there was also a phpBB2 release which had been followed by another release in a very short period of time). So I think, this QA thingy in the CVS is for this, if QA is turned on (BTW does anyobody know what QA stands for?) the board checks for half-development versions too (note the new file: http://www.phpbb.com/updatecheck/30x_qa.txt). This would allow testers to use the automatic updater.

Ps.: Does QA stands for Quality assurance? Well, it could fit my theory.
I think it's worthy a separate topic. What do you think it is?
User avatar
Stallyon
Registered User
Posts: 73
Joined: Mon May 31, 2004 1:30 pm
Location: BNE
Contact:

Re: New QA constant

Post by Stallyon »

Probably "Quick Access", as in quick access to the link in the text file?
User avatar
Nicholas the Italian
Registered User
Posts: 659
Joined: Mon Nov 20, 2006 11:19 pm
Location: 46°8' N, 12°13' E
Contact:

Re: New QA constant

Post by Nicholas the Italian »

QA definitely means Quality Assurance in software jargon.

I'd like to know too.
Maybe this is an internal release candidate of a release candidate, i.e., they're going to release the actual RC8 in few days? (That is, "we're not willing to have a RC6-bis")
Or, this is actually the final step before going gold, i.e., RC8 is internal only and then will be repackaged as 3.0.0? (That is, "we don't want to have a new RC, but as there were quite a few fixes we want to do a final check up before pushing it out")

I'd say the first one is more likely, but who knows.
User avatar
John Hjorth
Registered User
Posts: 235
Joined: Tue May 09, 2006 3:32 pm
Location: Odense, Denmark, EU
Contact:

Re: New QA constant

Post by John Hjorth »

How about a switch for a call home feature for automatic version control for MODs installed? The contents of the file could be the cached data for all versions of MODs in phpBB .com's MOD database - the first step towards M$'s Win update, we also see in FF, ICQ, AIM, Skype, WLM and I don't know what?? :P :D Noxwizard's MOD tracker MOD in 3.2 ?

- Or perhaps someting to do with :
Acyd Burn wrote:
Highway of Life wrote:
Gleasonator wrote:Joomla + phpBB3 = H4XX0R *prays that they're planning on teaming up*
/me slaps Gleasonator with RokBridge and Teh Hook System™ ;)
shhhhhh!!!
*seeing conspiracies everywhere & suffering by severe paranoia* :lol:

... :scratch: ...
User avatar
Stallyon
Registered User
Posts: 73
Joined: Mon May 31, 2004 1:30 pm
Location: BNE
Contact:

Re: New QA constant

Post by Stallyon »

Now, don't start sounding like a bunch of Tom Cruises here. Next thing you'll be building multi-million dollar underground houses to shield you from alien attacks.

Conspiracy theorists! *shakes head*
User avatar
John Hjorth
Registered User
Posts: 235
Joined: Tue May 09, 2006 3:32 pm
Location: Odense, Denmark, EU
Contact:

Re: New QA constant

Post by John Hjorth »

OK, Stallyon, back to topic ...

What do you think it is for, if you look at the code?
User avatar
Stallyon
Registered User
Posts: 73
Joined: Mon May 31, 2004 1:30 pm
Location: BNE
Contact:

Re: New QA constant

Post by Stallyon »

Let me check out the latest CVS and see. I was just taking a guess from the text file's content. Give me a few minutes to log into my server.
User avatar
John Hjorth
Registered User
Posts: 235
Joined: Tue May 09, 2006 3:32 pm
Location: Odense, Denmark, EU
Contact:

Re: New QA constant

Post by John Hjorth »

Code :

Code: Select all

Index: constants.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/constants.php,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** constants.php   18 Nov 2007 15:37:17 -0000   1.85
--- constants.php   19 Nov 2007 17:00:13 -0000   1.86
***************
*** 25,28 ****
--- 25,31 ----
  */

+ // QA-related
+ // define('PHPBB_QA', 1);
+ 
  // User related
  define('ANONYMOUS', 1);
and :

Code: Select all

RCS file: /cvsroot/phpbb/phpBB2/install/install_update.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** install_update.php 15 Oct 2007 17:27:22 -0000 1.46
--- install_update.php 19 Nov 2007 17:00:34 -0000 1.47
***************
*** 1514,1518 ****
  case 'version_info':
  global $phpbb_root_path, $phpEx;
! $info = get_remote_file('www.phpbb.com', '/updatecheck', '30x.txt', $errstr, $errno);
  
  if ($info !== false)
--- 1514,1518 ----
  case 'version_info':
  global $phpbb_root_path, $phpEx;
! $info = get_remote_file('www.phpbb.com', '/updatecheck', ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno);
  
  if ($info !== false)
Checkin comment from Acyd Burn :
lets start thinking about the future
User avatar
Stallyon
Registered User
Posts: 73
Joined: Mon May 31, 2004 1:30 pm
Location: BNE
Contact:

Re: New QA constant

Post by Stallyon »

Tried uncommenting the constant?
User avatar
John Hjorth
Registered User
Posts: 235
Joined: Tue May 09, 2006 3:32 pm
Location: Odense, Denmark, EU
Contact:

Re: New QA constant

Post by John Hjorth »

Well there is no operational workflow code wise connected to the constant yet. The code above is AFAIK the only code there is.

If you try to access the above mentioned folder on .com you get (naturally) .com's Error 403 page:
*THWACK* You are forbidden from here!
Stop being so nosey. Seriously… :P Bertiezilla gets very angry, and trust me, you do not want an angry Bertiezilla, however cute and fluffy he seems. Remember the Stay Puft Marshmellow Man in Ghostbusters? ;)
so uncommenting would not work anyway.

(No doubt about who made that page by the way ;) :mrgreen: )
Post Reply