Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
57 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 57

more...
Support us!
Recent OS4 Files
OS4Depot.net





marko releases alpha binary of external version string
Not too shy to talk
Joined:
2008/9/20 22:21
From Gothenburg, Sweden (via Finland)
Posts: 491
There's an update of Extversion on OpenAmiga.org.

Seen here: link

Quote:
I made some more progress today and as a result Alpha 3 is ready and available to download on [View Files] tab/link of this project ([View Project]).
Link:
http://openamiga.org/index.php?function=viewfiles&projectid=32

Remember this is an Alpha version meaning it is not deeply tested and has a lot of things that doesn't work yet like all options and deep error checking.

But if a proper Extversion cookie has been place in a file like:
"�$EXTVER: programname version.revision (dd.mm.yyyy) comment�"
(with leading and trailing zero character, � is a zero character)

it will find it with this command from shell like:
1> extversion programname

and output:
programname version.revision (dd.mm.yyyy) comment

So what is left (except fixing bugs):
* implement some options
* more error checking
* tidy up the code (to meet some guidelines and make a few more code comments)
* finish the documentation
* possibly a simple installer
* etc etc.

Hint: You can test the extversion file on itself, it has the EXTVER tag, like:
1> extversion extversion

Goodnight!


Files can be found here:
Extversion files


Edited by orgin on 2014/5/12 14:09:39
_________________
AmigaOS 4.1 FE Update 1 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
   Report Go to top

Re: marko releases alpha binary of external version string
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3101
Double post. Ohh well. Please help marko test his binary.

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: marko releases alpha binary of external version string
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1883
What exactly is the difference between this and

version full
?

Which will also display the 'comment' after the date section on a seperate line?


_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: marko releases alpha binary of external version string
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1883
Example:

9.AmigaOS4:> VERSION FULL APPDIR:amiupdate
AmiUpdate 2.35 (29/09/2013)
Part of the AmiUpdate suite


_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: marko releases alpha binary of external version string
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3101
@broadblues

It will allow a separate version cookie that is solely intended for a non amiga version.

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: marko releases alpha binary of external version string
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 3171
@orgin

I trust you can do version compares against this new string as well? Which wouldn't be possible if the "non-Amiga version" was just in the comment part of the usual $VER string.

   Report Go to top

Re: marko releases alpha binary of external version string
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1883
@orgin

The quoted format in the quoted test in the original post looks very like a standard amiga version to me, hence my question


@Chris

Version testing on a non standard version format would be quite tricky though. You could assume it's always in linux format vers.rev.subrev but many foreign apps don't stick to that rule either.

[edit]
bad grammar even by *my* typing standards
[/edit]


Edited by broadblues on 2014/5/12 17:12:07
_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: marko releases alpha binary of external version string
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 3171
@broadblues

Very true. However, even an "exact match" might be worthwhile (hmm, you could probably do that with the comment part anyway)


   Report Go to top

Re: marko releases alpha binary of external version string
Not too shy to talk
Joined:
2008/9/20 22:21
From Gothenburg, Sweden (via Finland)
Posts: 491
@orgin

Thanks

_________________
AmigaOS 4.1 FE Update 1 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
   Report Go to top

Re: marko releases alpha binary of external version string
Not too shy to talk
Joined:
2008/9/20 22:21
From Gothenburg, Sweden (via Finland)
Posts: 491
@broadblues

Quote:
The quoted format in the quoted test in the original post looks very like a standard amiga version to me, hence my question

I agree, not the best example in the test quoted. I try to give a better example next time.

The point is to store a non Amiga version (f.ex. a Linux version) along with the "normal" Amiga version. So you have both the $VER: and $EXTVER: in a binary at the same time.

_________________
AmigaOS 4.1 FE Update 1 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
   Report Go to top

Re: marko releases alpha binary of external version string
Not too shy to talk
Joined:
2008/9/20 22:21
From Gothenburg, Sweden (via Finland)
Posts: 491
@Chris

I added the "versions compare-exact match" to the do list to be implemented in the future.


Otherwise, version testing on non standard versions might be pretty tricky as broadblues says.

_________________
AmigaOS 4.1 FE Update 1 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project