On 3/26/09 10:46 AM, Gerard Meijssen wrote: > Hoi, > I understand how revisions work. How do you use version numbers with SVN, > how are extensions to be supported in combination with SVN ?
To get useful SVN version information on the extensions you need two things: 1) The branch (trunk, or a branch associated with a MediaWiki release?) 2) The revision number the whole extension was last updated to. (This is not the same as any individual file's last-*changed* revision, which is all you get from the keywords.) These can be pulled easily from a live SVN checkout, but if it's been distributed separately we need to perhaps add that info into what ExtensionDistributor generates? -- brion > Thanks, > GerardM > > 2009/3/26 Chad<[email protected]> > >> On Thu, Mar 26, 2009 at 12:57 PM, Brion Vibber<[email protected]> >> wrote: >>> On 3/25/09 5:16 PM, Roan Kattouw wrote: >>>> I'm guessing this may be because the new file was added after r37404, >>>> but the file registering the extension (and providing the revision >>>> number) wasn't changed at that time, which means the most recent >>>> revision of *that file* is still r37404. Special:Version doesn't really >>>> report the most recent revision of the extension as a whole, but that of >>>> the setup file (IIRC). >>> Right, these version numbers are useless and in fact counterproductive >>> because they're completely inaccurate. I strongly recommend they be >>> removed if they can't be made relevant. >>> >>> -- brion >>> >>> _______________________________________________ >>> Wikitech-l mailing list >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >>> >> I've gone ahead and removed them from extensions in r48889 and removed >> support from them in r48890. Developers should instead use version numbers >> that make sense. We've had the 'version' parameter in $wgExtensionCredits >> since pretty much forever, use that instead. >> >> -Chad >> >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
