Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Patches in grimoires

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Andraž \"ruskie\" Levstik" <ruskie AT mages.ath.cx>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Patches in grimoires
  • Date: Mon, 15 May 2006 15:38:42 +0200

With my recent work on smgb and smbsd I've found that we have a rather
incosistent way of handling patches so I was doing some brainstorming on the
issue(with input from others) and this is what I came up with:

* a directory patches in the spell dir would hold ALL the patches
* a format for patch filenames would be defined
an example: 001-2-mypatch.diff
arbitrary: SEQ-P-NAME.diff
SEQ: sequential number from 000-999
P: patchlevel
NAME: a name for the patch
That's for the filename
* Comments in patches should be defined
an example:
***START OF DIFF FILE***
## Description: What does this patch do
## BugUrl: Url to the upstream filed bug about the patch
## Type: [enh|fix|sec|other]
THE_PATCH
***END OF DIFF FILE***
* If possible ALL patches should be applied in PRE_BUILD
* Sequential numbers have meaning:
Patches that should be applied in PRE_BUILD go from 001 to 899
Patches that can't be applied in PRE_BUILD go from 900 to 999
000 is reserved for now
Other ranges might be added as well I doubt we will ever have 1000 patches
in a spell
* Final evolution of this would be automatic patching in PRE_BUILD using
default_pre_build

Comments, flames, etc...

--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker

Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html

Key id = A7A9E461
Key fingerprint = 757E C16B F5B7 DC27 B003 CCED CF95 3A77 A7A9 E461





Archive powered by MHonArc 2.6.24.

Top of Page