Difference between revisions of "AlliedModders Planning"

From AlliedModders Wiki
Jump to: navigation, search
(Phase 7)
 
(23 intermediate revisions by 2 users not shown)
Line 22: Line 22:
  
 
=Mercurial=
 
=Mercurial=
Subversion doesn't let us branch nicely or create user-specific branches without forever mucking up the central repository.  It's difficult to do merges.  Mercurial seems to solve these problems, but our build process will be majorly affected.
+
Subversion doesn't let us branch nicely or create user-specific branches without forever mucking up the central repository.  It's difficult to do merges.
  
 
An excellent tutorial for how Mercurial works is [http://www.selenic.com/mercurial/wiki/index.cgi/UnderstandingMercurial here].
 
An excellent tutorial for how Mercurial works is [http://www.selenic.com/mercurial/wiki/index.cgi/UnderstandingMercurial here].
 
==The Revision Problem==
 
Mercurial has local revision numbers which suffice.
 
 
<strike>Mercurial tracks revisions with 160-bit IDs (40 digits of hex), called "changeset IDs."  Mercurial has aesthetic revision numbers only; they're not guarantees like they are in Subversion.  Revision numbers are properties of a repository clone, not the overall repository.  This means that if two people make changes locally, those revisions will be different, and will change again once pushed upstream.
 
 
This problem is somewhat mitigated by the fact that the central repository will have reliable revision numbers, but that's still not good enough since branching will generate multiple revisions.  Branching also makes the revision numbers awkward since users assign meaning to them where none exists (for example, "1.0.1.1234 versus 1.1.0.1231 doesn't make sense because 1.1 is later than 1.0.1").</strike>
 
 
 
=Eliminating Revision Numbers=
 
Done.  The symbol server stores dlls now and that's all we needed.  Revision identifiers appear in "sm version" and in package names only.
 
  
  
 
=Phases=
 
=Phases=
  
==Phase 0==
+
==Phase 0 - Done ==
'''DONE:''' We've eliminated build numbers and are back on the x.y.z system.  SVN builds have "-svn" on them.  We'll branch and remove those for releases.  version.rc still has the fourth number so we can use fetchdlls and debug easily.
+
'''DONE:''' We've eliminated build numbers and are back on the x.y.z system.
  
 
*<strike>Apply new versioning scheme, whatever it may be.</strike>  
 
*<strike>Apply new versioning scheme, whatever it may be.</strike>  
  
==Phase 1==
+
==Phase 1 - Done==
'''DONE:''' We're now on a new box.
+
'''DONE!'''
  
 
<strike>Move from Sente to Iroh so we can get away from ThePlanet and clean up/optimize some infrastructure.  This is documented at [[Iroh_Migration|Iroh Migration]].</strike>
 
<strike>Move from Sente to Iroh so we can get away from ThePlanet and clean up/optimize some infrastructure.  This is documented at [[Iroh_Migration|Iroh Migration]].</strike>
Line 57: Line 46:
 
*<strike>Use an SSH tunnel to notify of new packages, so we don't have to do something idiotic like mirrors.pl for the mirror system, or using post-commit scripts on the Packages repository.</strike>
 
*<strike>Use an SSH tunnel to notify of new packages, so we don't have to do something idiotic like mirrors.pl for the mirror system, or using post-commit scripts on the Packages repository.</strike>
 
*Redo the package system so only 30 days worth of builds are available.
 
*Redo the package system so only 30 days worth of builds are available.
*Write a script to help users diff between packages?
+
*<strike>Write a script to help users diff between packages? (Update: No one asked for it.)</strike>
*Remove the Packages repository entirely (transitioning AMX Mod X to this will be trivial).
+
*<strike>Remove the Packages repository entirely (transitioning AMX Mod X to this will be trivial).</strike>
 
 
==Phase 2b==
 
 
 
Expected date: Tomorrow?
 
 
 
 
*<strike>Update symbol server to include binaries and maybe even sourcecode? Removes the need for fetchdll's.</strike>
 
*<strike>Update symbol server to include binaries and maybe even sourcecode? Removes the need for fetchdll's.</strike>
  
==Phase 3==
+
==Phase 3 - Done==
Expected date: End of July
+
'''DONE!'''
  
*Transition C# build tool to vs2k8 project that targets .NET Framework 2.0.
+
*<strike>{{bz|3257}}: Transition SourceMod to vs2k8.</strike>
*Transition SourceMod and Metamod:Source to vs2k8.
+
*<strike>{{bz|3258}}: Transition Metamod:Source to vs2k8.</strike>
  
==Phase 4==
+
==Phase 4 - Done==
Expected date: End of July
+
'''DONE!'''
  
 
*<strike>Move the pdbstore to be centralized client-side.  This can be accomplished by making a more advanced symstore wrapper that will remove anything older than 30 days, and then (in a similar SSH tunnel method as above), rsync all changes upstream to the webserver.  The exact mechanism is still up in the air, but rsync would probably suffice (as long as we can stomach cygwin).</strike>
 
*<strike>Move the pdbstore to be centralized client-side.  This can be accomplished by making a more advanced symstore wrapper that will remove anything older than 30 days, and then (in a similar SSH tunnel method as above), rsync all changes upstream to the webserver.  The exact mechanism is still up in the air, but rsync would probably suffice (as long as we can stomach cygwin).</strike>
Line 79: Line 63:
 
*<strike>Rewrite fetchdlls to support the new layout.</strike>
 
*<strike>Rewrite fetchdlls to support the new layout.</strike>
  
==Phase 5==
+
==Phase 5 - Done==
 +
'''DONE!'''
 +
 
 
*<strike>Add hg.alliedmods.net pointing to our "repository roots," which will be per-project.  For example, hg.alliedmods.net/sourcemod.</strike>
 
*<strike>Add hg.alliedmods.net pointing to our "repository roots," which will be per-project.  For example, hg.alliedmods.net/sourcemod.</strike>
 
*<strike>From there, import trunk as "sourcemod."</strike>
 
*<strike>From there, import trunk as "sourcemod."</strike>
 
*<strike>Branch every major release off as separate repositories, from the appropriate revisions.</strike>
 
*<strike>Branch every major release off as separate repositories, from the appropriate revisions.</strike>
 
*<strike>Tag minor releases.</strike>
 
*<strike>Tag minor releases.</strike>
*Update all links we can find on the site and in the docs.
+
*<strike>Update all links we can find on the site and in the docs.</strike>
 +
 
 +
==Phase 6 - Done==
 +
'''DONE!'''
  
==Phase 6==
+
*<strike>Import mmsource into Mercurial.</strike>
(Assuming Phase 3, No real date in mind, before 2009)
+
*<strike>Import hl2sdk/hl2sdk-ob into Mercurial.</strike>
*Add /metamodsource, import trunk and branches.
+
*<strike>Update all links we can find on the site and in the docs.</strike>
*Branch every major release off as separate repositories, from the appropriate revisions.
 
*Tag minor releases.
 
*Update all links we can find on the site and in the docs.
 
*Create new repositories for the hl2sdk stuff.  This way, the AlliedModders root organization will look like:
 
**hl2sdk
 
***hl2sdk
 
***hl2sdk-ob
 
**metamodsource
 
***metamodsource
 
***metamodsource-1.0
 
***metamodsource-1.1
 
***metamodsource-1.2
 
***metamodsource-1.3
 
***metamodsource-1.4
 
***metamodsource-1.6
 
**sourcemod
 
***sourcemod
 
***sourcemod-1.0
 
  
 
==Phase 7==
 
==Phase 7==
Expected date: End of 2008
+
'''DONE!'''
 +
 
 +
*<strike>{{bz|3259}}: We need to update vBulletin to the 3.7 branch.  This is potentially a huge task.</strike>
 +
 
 +
==Phase 8==
 +
Expected date: Q1 2009
  
 
We really, really still need a CMS to make this packaging, mirroring, etc business much more streamlined.  But this phase is so far in the future I expect other phases to creep in before it.  This is more a mind dump than anything, but here goes --
 
We really, really still need a CMS to make this packaging, mirroring, etc business much more streamlined.  But this phase is so far in the future I expect other phases to creep in before it.  This is more a mind dump than anything, but here goes --
  
*Moving from flyspray to bugzilla.  After using bugzilla, I'm convinced that its massive feature set far outweights the few permissions issues we ran into.  flyspray is severely lacking, and even though bugzilla isn't the nicest looking tool, it's templated and professionally done.  It has little things that really count, like..
+
*<strike>Moving from flyspray to bugzilla.  After using bugzilla, I'm convinced that its massive feature set far outweights the few permissions issues we ran into.  flyspray is severely lacking, and even though bugzilla isn't the nicest looking tool, it's templated and professionally done.  It has little things that really count, like..</strike>
**The input system isn't broken and convoluted like Flyspray's embedded dokuwiki (which seems to be less a product than a bunch of bugs someone coded)
+
**<strike>The input system isn't broken and convoluted like Flyspray's embedded dokuwiki (which seems to be less a product than a bunch of bugs someone coded)</strike>
**A much, MUCH better attachment system that allows for attachment reviews
+
**<strike>A much, MUCH better attachment system that allows for attachment reviews
**More focused on triaging and patch management than flyspray, which is simply a list of tasks with some basic statistics
+
**More focused on triaging and patch management than flyspray, which is simply a list of tasks with some basic statistics</strike>
 
*Moving from MediaWiki, which (I view) as a very, very outdated piece of software.  From version 1.5 to 1.10 I have noticed no real usability or feature set changes, and the installation/upgrade process is always very buggy for us.  Its administration and permissions model is laughably limited.  A possible target for this is DekiWiki which Mozilla is supposedly converting to.  It's open source and it's actually a CMS, which (perhaps) could kill two birds with one stone.
 
*Moving from MediaWiki, which (I view) as a very, very outdated piece of software.  From version 1.5 to 1.10 I have noticed no real usability or feature set changes, and the installation/upgrade process is always very buggy for us.  Its administration and permissions model is laughably limited.  A possible target for this is DekiWiki which Mozilla is supposedly converting to.  It's open source and it's actually a CMS, which (perhaps) could kill two birds with one stone.

Latest revision as of 22:03, 15 March 2011


This is sort of a major push for AlliedModders to be a bit more streamlined. We're encountering growth problems, especially as our personnel has dwindled quite low recently. This document discusses some changes I'm proposing. Anyone is free to discuss this on the forums or add comments into this document.

Everything related to source code management in this document refers to Metamod:Source and SourceMod. AMX Mod X is considered "mature" and is no longer maintained except for critical or high priority bugs. If and when we do a move past Subversion, it is unlikely AMX Mod X will follow.

The Problems

Short Term

  • We're finding it hard to manage multiple projects in a unified way.
  • There are site disparities, Metamod:Source and SourceMod and AMX Mod X each have entirely different backends.
  • Similarly, each site has a different version of the mirror system script.
  • Subversion doesn't cut it -- Mercurial might handle things better. Subversion basically has no branching or tagging support, and it has no real branch merging capabilities. This is a real problem for SourceMod which has pretty active development.
  • The packaging system is disorganized and fundamentally broken. It's inconsistent, inaccurate, and takes up 1.7GB of wasted space and growing.

Long Term

  • AlliedModders has plans past SourceMod. We need to be able to grow our project base without adding exponential amounts of work.
  • We still don't have a main site
  • MediaWiki still has authentication problems since its handling of usernames is broken
  • Flyspray is buggy, definitely non-production, and doesn't get maintained frequently
  • It's impossible to maintain the AMXX/SM/MM:S sites right now


Mercurial

Subversion doesn't let us branch nicely or create user-specific branches without forever mucking up the central repository. It's difficult to do merges.

An excellent tutorial for how Mercurial works is here.


Phases

Phase 0 - Done

DONE: We've eliminated build numbers and are back on the x.y.z system.

  • Apply new versioning scheme, whatever it may be.

Phase 1 - Done

DONE!

Move from Sente to Iroh so we can get away from ThePlanet and clean up/optimize some infrastructure. This is documented at Iroh Migration.

Phase 2

Expected date: Mid-July

  • Redo automation so the "packaging" versus "sending upstream" processes are fundamentally separate.
  • Redo "sending upstream" process so it simply sends over FTP.
  • Use an SSH tunnel to notify of new packages, so we don't have to do something idiotic like mirrors.pl for the mirror system, or using post-commit scripts on the Packages repository.
  • Redo the package system so only 30 days worth of builds are available.
  • Write a script to help users diff between packages? (Update: No one asked for it.)
  • Remove the Packages repository entirely (transitioning AMX Mod X to this will be trivial).
  • Update symbol server to include binaries and maybe even sourcecode? Removes the need for fetchdll's.

Phase 3 - Done

DONE!

  • bug 3257: Transition SourceMod to vs2k8.
  • bug 3258: Transition Metamod:Source to vs2k8.

Phase 4 - Done

DONE!

  • Move the pdbstore to be centralized client-side. This can be accomplished by making a more advanced symstore wrapper that will remove anything older than 30 days, and then (in a similar SSH tunnel method as above), rsync all changes upstream to the webserver. The exact mechanism is still up in the air, but rsync would probably suffice (as long as we can stomach cygwin).
  • Remove the Symbols repository.
  • Rewrite fetchdlls to support the new layout.

Phase 5 - Done

DONE!

  • Add hg.alliedmods.net pointing to our "repository roots," which will be per-project. For example, hg.alliedmods.net/sourcemod.
  • From there, import trunk as "sourcemod."
  • Branch every major release off as separate repositories, from the appropriate revisions.
  • Tag minor releases.
  • Update all links we can find on the site and in the docs.

Phase 6 - Done

DONE!

  • Import mmsource into Mercurial.
  • Import hl2sdk/hl2sdk-ob into Mercurial.
  • Update all links we can find on the site and in the docs.

Phase 7

DONE!

  • bug 3259: We need to update vBulletin to the 3.7 branch. This is potentially a huge task.

Phase 8

Expected date: Q1 2009

We really, really still need a CMS to make this packaging, mirroring, etc business much more streamlined. But this phase is so far in the future I expect other phases to creep in before it. This is more a mind dump than anything, but here goes --

  • Moving from flyspray to bugzilla. After using bugzilla, I'm convinced that its massive feature set far outweights the few permissions issues we ran into. flyspray is severely lacking, and even though bugzilla isn't the nicest looking tool, it's templated and professionally done. It has little things that really count, like..
    • The input system isn't broken and convoluted like Flyspray's embedded dokuwiki (which seems to be less a product than a bunch of bugs someone coded)
    • A much, MUCH better attachment system that allows for attachment reviews
    • More focused on triaging and patch management than flyspray, which is simply a list of tasks with some basic statistics
  • Moving from MediaWiki, which (I view) as a very, very outdated piece of software. From version 1.5 to 1.10 I have noticed no real usability or feature set changes, and the installation/upgrade process is always very buggy for us. Its administration and permissions model is laughably limited. A possible target for this is DekiWiki which Mozilla is supposedly converting to. It's open source and it's actually a CMS, which (perhaps) could kill two birds with one stone.