2.0 End of Alpha Talk

Discussion corner for Developers of Serendipity.
User avatar
onli
Regular
Posts: 2220
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

2.0 End of Alpha Talk

Post by onli » Sat Feb 08, 2014 10:08 pm

Hi Guys
Given the current state of Serendipity 2.0, we (YL and myself) would like to set a date for a talk with the aim to pass the current 2.0 over to the regular development lead by Garvin. This involves talking about:
  • what is the current state
  • what has to be done (default plugin selection, upgrade tests and tasks, backend without 2k11)
  • what should be done (further cleanup, frontend changes?)
  • when to merge
Location would be Mumble, the date would have to be determined. Hope this doodle will help with that: http://doodle.com/7wykw28484f2d4vr. I assumed only weekends will work.

Where we are standing, in short: The backend is restructured, a few changes to the core were made, the JS uses jQuery and a namespace, and a few testers have used the backend and given feedback. Oh, and the smartification of course. Not many changes to the frontend though. Further informations are compressed in https://github.com/s9y/Serendipity/blob ... S-2.0-temp, and https://github.com/s9y/Serendipity/commits/2.0 lists them all.

As this is quite a big step (though it doesn't necessarily end the alpha-phase, just the current one), I hope a lot of you will have the time for this :)

User avatar
yellowled
Regular
Posts: 7007
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by yellowled » Sat Feb 08, 2014 11:08 pm

To make this very clear, “end of alpha” of course means “end of alpha phase for the backend”. We're not suggesting 2.0 should be released in 3 weeks or something.

Also, there are some things I'm not entirely happy with (colors mostly), but poking around on my own doesn't do much good at this point, so I would like to maybe discuss these as well.

As onli already stated, we feel we're about to take a huge step in s9y development here, so it would be nice to have as many devs as possible present. It doesn't really matter if the dev talk happens next week or in 4 weeks as long as as many of us as possible can chime in on this.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
yellowled
Regular
Posts: 7007
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by yellowled » Sat Feb 08, 2014 11:17 pm

I guess some kind of time in the Doodle would've been nice. :)

I seem to recall that in the past some time between 15:00 and 17:00 German time used to work pretty well for everyone?

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by garvinhicking » Sun Feb 09, 2014 1:50 am

That's cool! I hope I'll find time in the near future to take a look at the most pressing issue, migrating from 1.x to 2.0, the upgrader function that should do something along the lines of this:

Code: Select all

$plugs = serendipity_db_query("SELECT name FROM {$serendipity['dbPrefix']}plugins WHERE name LIKE '@%'");
foreach($plugs AS $plugin) {
  $origname = $plugin['name'];
  $plugin['name'] = str_replace('@', '', $plugin['name']);
  $plugin['name'] = preg_replace('@serendipity_([^_]+)_plugin@i', 'serendipity_plugin_\1', $plugin['name']);
  $pluginparts = explode(':', $plugin['name']);

  serendipity_db_query("UPDATE {$serendipity['dbPrefix']}plugins SET name = "' . serendipity_db_escape_string($plugin['name']) . '", path = '" . serendipity_db_escape_string($pluginparts[0]) . "' WHERE name = '" . serendipity_db_escape_string($origname) . "'");
 echo "Rewrote " . htmlspecialchars($origname) . " to " . htmlspecialchars($plugin['name']) . "<br />\n";
}
All plugins from former internal names serendipity_XXX_plugin have been renamed to serendipity_plugin_XXX, right? No other changes, like "serendipity_categories_plugin" to "serendipity_plugin_categorylist", right?

Other than that, in the mumble we should definitely talk about other possible things that could block a seamless upgrade from Serendipity 1.x to 2.x - we need that before we can issue any "beta" quality release candidate. But I think we should be near that, from what I figure. :)

I added my dates in the mumble.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
yellowled
Regular
Posts: 7007
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by yellowled » Sun Feb 09, 2014 8:14 am

By the way, everyone's login to my 2.0 dev blog should still work. So if you want to take a quick sneak peek …

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
onli
Regular
Posts: 2220
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: 2.0 End of Alpha Talk

Post by onli » Sun Feb 09, 2014 11:57 am

garvinhicking wrote:All plugins from former internal names serendipity_XXX_plugin have been renamed to serendipity_plugin_XXX, right? No other changes, like "serendipity_categories_plugin" to "serendipity_plugin_categorylist", right?
Correct. Only the rename from serendipity_XXX_plugin to serendipity_plugin_XXX, to make Spartacus work with them.
I seem to recall that in the past some time between 15:00 and 17:00 German time used to work pretty well for everyone?
Remember that as well. That were too many clicks in the doodle with the time, would do that in a 2nd step.

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by garvinhicking » Sun Feb 09, 2014 6:05 pm

Hi!
Correct. Only the rename from serendipity_XXX_plugin to serendipity_plugin_XXX, to make Spartacus work with them.
OK, cool. Any objections to the code approach I posted?

My personal time currently is quite broad, my better half is working on her master thesis, so my weekends are currently available, if I plan enough in advance. So I'd try to bend to your needs time-wise, once the day is settled.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
onli
Regular
Posts: 2220
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: 2.0 End of Alpha Talk

Post by onli » Sun Feb 09, 2014 6:39 pm

garvinhicking wrote:Any objections to the code approach I posted?
No, should work that way. Maybe we should use the specific names of the plugins instead of the generic regex though, but the general idea look good. Thanks.

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by garvinhicking » Mon Feb 10, 2014 4:18 pm

Hey,

just committed the patch for this migration task. I noticed that the upgrader has no HTML surrounding, so it is more like plain text. Guess the smarty framework isn't properly initialized for the backend at this point...?!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
yellowled
Regular
Posts: 7007
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by yellowled » Wed Feb 12, 2014 12:05 pm

Seems like we're shooting for March, 1st. Would still be good if more devs could join the Mumble talk that day. (Yes, I realize it's still some time a way and not everyone might know their schedule for then.)

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
Don Chambers
Regular
Posts: 3633
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: 2.0 End of Alpha Talk

Post by Don Chambers » Fri Feb 14, 2014 4:00 am

If you guys are willing to do English, I think I can do March 1.

User avatar
yellowled
Regular
Posts: 7007
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by yellowled » Fri Feb 14, 2014 12:15 pm

Don Chambers wrote:If you guys are willing to do English, I think I can do March 1.
I can't really speak for the other guys, but if you can do March 1, I guess we can do English. :) (There might be topics for which we might quickly switch to German for a moment, but you're used to that from last time, right?)

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
onli
Regular
Posts: 2220
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: 2.0 End of Alpha Talk

Post by onli » Fri Feb 21, 2014 3:24 pm

(just lost my post because of magic, so I'll do this quick).

The 1th of march seems to work (earlier is better I think, if someone vetoes it though, 15th is the next one). 17:00 german time alright for everyone? If not, please suggest a time, if that dont work i'll make a doodle.

Mumble of Garvin, or YL? One of you should send the ip/login data to everyone, that would be great.

PS: Ian? What's up with you?

User avatar
yellowled
Regular
Posts: 7007
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by yellowled » Fri Feb 21, 2014 3:40 pm

onli wrote:The 1th of march seems to work (earlier is better I think, if someone vetoes it though, 15th is the next one). 17:00 german time alright for everyone?
Full disclosure: I checked “maybe” for that date because there's a soccer match going on at that time that I'd like to watch. At 17:00 our time that will be almost over, though, so 17:00 works for me. Hope it does for everyone else as well.

Edit: Don, that would be 10 a.m. your time.
onli wrote:Mumble of Garvin, or YL? One of you should send the ip/login data to everyone, that would be great.
By YL, you probably mean the InfoCamp Mumble (which is Robert's server, but we can use it). Both are options, but I think we always went with Garvin's Mumble for this. Everyone should still have access to that from last time anyway.

Note: When we recorded the last InfoCamp, I had trouble logging in after updating Mumble. Might just be on my end, might be an issue with the Mumble update.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2.0 End of Alpha Talk

Post by garvinhicking » Fri Feb 21, 2014 5:10 pm

Hi!

March 1st has sadly been taken on my schedule -- I sadly can't block the dates for too long. However I could offer to do it on March 1st between 10:00 and 14:00 german time (I need to leave at 14h).

My mumble would be admissible for all.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply