OXP Distribution and Packaging information
Moderators: winston, another_commander
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
OXP Distribution and Packaging information
I created a new page, [wiki]OXP Distribution[/wiki], which collects best practices for packaging and distributing OXPs. Consider it a starting point with my personal view on best practices and add to or correct it . It is linked to from the [wiki]OXP howto[/wiki] page.
- Mauiby de Fug
- ---- E L I T E ----
- Posts: 847
- Joined: Tue Sep 07, 2010 2:23 pm
Re: OXP Distribution and Packaging information
I find it interesting that you don't recommend including the version number in the name of the .oxp folder. While I can definitely see your point about it making sure that people can't mistakenly have multiple instances of the same oxp in the AddOns folder, I would have thought that having the version number would be beneficial, in that it makes it easier to see when an oxp is out of date and a new version is available. I would have thought that old versions of oxps would be more of a problem than multiple instances, and having the version number in the folder name would make it easier to debug...
But everything else makes sense to me!
But everything else makes sense to me!
- Cmdr. Maegil
- Sword-toting nut-job
- Posts: 1294
- Joined: Tue Feb 27, 2007 10:28 pm
- Location: On the mend in Western Africa
Re: OXP Distribution and Packaging information
I agree. It's much easier to see if there's an update with just a cursory look at the add-ons folder than having to check the readme files in each individual folder.Mauiby de Fug wrote:I find it interesting that you don't recommend including the version number in the name of the .oxp folder.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
I'm obviously not one of them.
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: OXP Distribution and Packaging information
That is indeed the one point that I'm not even sure about myself. I tend to think that duplicate OXPs can cause more problems than outdated ones. Other opinions?Mauiby de Fug wrote:I find it interesting that you don't recommend including the version number in the name of the .oxp folder. While I can definitely see your point about it making sure that people can't mistakenly have multiple instances of the same oxp in the AddOns folder, I would have thought that having the version number would be beneficial, in that it makes it easier to see when an oxp is out of date and a new version is available. I would have thought that old versions of oxps would be more of a problem than multiple instances, and having the version number in the folder name would make it easier to debug...
But everything else makes sense to me!
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: OXP Distribution and Packaging information
For what it's worth I have been stating version number at the .oxp folder level for my recent updates and releases, for the reason stated above...at a glance users can see what version they have installed.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: OXP Distribution and Packaging information
Personally, I like to see oxp version numbers in the Latest.log... I've never had a problem with duplication.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: OXP Distribution and Packaging information
I think the opinions in this are to different to give an advise. Maybe only list the benefits of both?.
Personally I want version numbers in the name. Or better: I hate oxps without version numbers and add them manually when they are missing. Main reason is that you often have no clue about the version without version number in the name. Specially with ship oxps were there is no script that might bear a version number. e.g. look at griff's work. The only clue is often the modification date. And when I changed a character in the oxp, even that clue is gone.
And on the mac you generally can't look inside the oxp to find files with version info. For me that was reason to include always a 'info.plist'. That is a mac-only file that makes -among others- that when asking file info from the finder, you get the version number that way. And other systems can just read this file as text. But that exceeds packaging info.
On the mac, also the info inside the 'requires.plist' is visible in the info-box when asking file info from the finder.
Probably the page can use some additional info per operating system. e.g. On the mac you can make very easy a zip file by selecting a folder and that select "make archive" from the menu. But, as this is primarily mend for mac compatible archives, there are a lot additional files added that are not visible to the mac user but confuses others. On the mac it is better to use a separate zip program and look for a setting with 'window compatible' archives.
I assume similar advises can be given for other os also.
Personally I want version numbers in the name. Or better: I hate oxps without version numbers and add them manually when they are missing. Main reason is that you often have no clue about the version without version number in the name. Specially with ship oxps were there is no script that might bear a version number. e.g. look at griff's work. The only clue is often the modification date. And when I changed a character in the oxp, even that clue is gone.
And on the mac you generally can't look inside the oxp to find files with version info. For me that was reason to include always a 'info.plist'. That is a mac-only file that makes -among others- that when asking file info from the finder, you get the version number that way. And other systems can just read this file as text. But that exceeds packaging info.
On the mac, also the info inside the 'requires.plist' is visible in the info-box when asking file info from the finder.
Probably the page can use some additional info per operating system. e.g. On the mac you can make very easy a zip file by selecting a folder and that select "make archive" from the menu. But, as this is primarily mend for mac compatible archives, there are a lot additional files added that are not visible to the mac user but confuses others. On the mac it is better to use a separate zip program and look for a setting with 'window compatible' archives.
I assume similar advises can be given for other os also.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Mauiby de Fug
- ---- E L I T E ----
- Posts: 847
- Joined: Tue Sep 07, 2010 2:23 pm
Re: OXP Distribution and Packaging information
Thinking about the various people who come here for help and post their log files for us, there are a fair few who are running outdated oxps, which if given a version number we can easily identify and point this out to them (even if their problem was not caused by this), whereas I don't really think we see many people with duplicate oxps...
Other things we see are one oxp accidentally dropped inside another, although of course we can't do anything about that with regards to file names!
Other things we see are one oxp accidentally dropped inside another, although of course we can't do anything about that with regards to file names!
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: OXP Distribution and Packaging information
Regarding the point of version numbers: Wouldn't it be even easier to see if an OXP is outdated if the release date was appended? That way you could easily compare against the OXP List. For finding out the latest version number, you always have to look it up either on the wiki, or in the readme/release notes. And sometimes neither exists.
- Cmdr. Maegil
- Sword-toting nut-job
- Posts: 1294
- Joined: Tue Feb 27, 2007 10:28 pm
- Location: On the mend in Western Africa
Re: OXP Distribution and Packaging information
If you're going that way, next we'll be discussing an OXP installer/updater... Last time I heard, it was either un-doable or not in anyone's priorities, I don't recall which.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
I'm obviously not one of them.
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: OXP Distribution and Packaging information
The way I'm going is towards a manual solution that makes it easier then the current one to find out if OXPs are outdated or not.Cmdr. Maegil wrote:If you're going that way, next we'll be discussing an OXP installer/updater... Last time I heard, it was either un-doable or not in anyone's priorities, I don't recall which.
Re: OXP Distribution and Packaging information
Maik, I have had a think about our discussion in PMs. It really doesn't matter whether people use dates or version numbers. Both will indicate to the user if the OXP is more recent than the one they have. So the recommendation could be to use one of them. I would also suggest that the enclosing zip or rar file has the same name as the OXP itself, including version number or date. Makes it easier to navigate all the OXP's on my HD.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: OXP Distribution and Packaging information
Hmm. Why does it not matter? If I see the release date, I can quickly compare with the OXP List. If I see the version number, I have to go to the OXP's particular wiki page or BB thread to find out what the current version is.
This might not matter for a single OXP, but if you quickly want to go through your list, I think that having to compare against only one page is more efficient.
What was it you had in mind when you said it doesn't matter?
This might not matter for a single OXP, but if you quickly want to go through your list, I think that having to compare against only one page is more efficient.
What was it you had in mind when you said it doesn't matter?
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: OXP Distribution and Packaging information
Which zip program do you recommend?Eric Walch wrote:On the mac you can make very easy a zip file by selecting a folder and that select "make archive" from the menu. But, as this is primarily mend for mac compatible archives, there are a lot additional files added that are not visible to the mac user but confuses others. On the mac it is better to use a separate zip program and look for a setting with 'window compatible' archives.
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: OXP Distribution and Packaging information
I extended the [wiki]OXP Distribution[/wiki] page with information on announcements and updating and revised the information on versioning. Please continue to provide feedback.