VectorLinux
April 23, 2014, 04:33:30 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: format of vector-version  (Read 1315 times)
roarde
Vectorite
***
Posts: 488


move the needle


« on: April 21, 2010, 07:57:09 am »

Is there a documented or set format for the line that is /etc/vector-version?
« Last Edit: December 24, 2013, 03:17:24 pm by roarde » Logged

Robert
VL Light 7.0, icewm/spacefm
roarde
Vectorite
***
Posts: 488


move the needle


« Reply #1 on: December 16, 2013, 02:41:16 pm »

OK, second try:

bump

(yes, i need this)
Logged

Robert
VL Light 7.0, icewm/spacefm
M0E-lnx
Administrator
Vectorian
*****
Posts: 3134



« Reply #2 on: December 17, 2013, 01:46:06 pm »

Per our conversation on IRC and to give everyone a little context on this... Here is my 2 cents.

Here are the current values:
64-bit:  "647.1 STD B1 built on Nov-27-2013"
32-bit:  "7.1 STD B1 Built on Nov-27-2013"

This of course assumes that "64" in the string indicates 'VLocity' and the absence of it indicates 'Vector'.
I don't mind this as it is, but roarde is working on something that requires a standard, and I do agree there should be a standard for this.  The current string for 'VLocity' confuses me.  "647.1" ??

Having said that, I would agree on the following format
<DISTRO_NAME> <RELEASE_VERSION> <RELASE_SNAPSHOT> <SPIN> Built on <RELEASE_DATE>
With a final string that looks like this

"VectorLinux 7.1 FINAL STD built on 2013-00-00"
and
"VLocity 7.1 FINAL STD Built on 2013-00-00"

Notice the "VectorLinux" as a single word.  This would allow parsing of this file as a 7-piece string for both architectures and the components for the string will be on the same spot every time.

This of course is not without flaws inherent to the way we develop the stuff here.  For example, it assumes that if we were to ever produce any other release (such as an ARM spin), it would need a different DISTRO_NAME value.  But I refuse to think about that at this moment.
Logged

StrayBit
Vectorite
***
Posts: 373



« Reply #3 on: December 17, 2013, 02:30:07 pm »

Quote
The current string for 'VLocity' confuses me.  "647.1"
64 [bit] 7.1 [version]?  Sounds logical to me.  While maybe a bit difficult to read, it does maintain six parts to parse. 
I like your suggestion in that it is easier for us with eyes (and don't see what we are looking at  Huh) to read.
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
roarde
Vectorite
***
Posts: 488


move the needle


« Reply #4 on: December 17, 2013, 04:21:09 pm »

@M0E-lnx:
Thanks for your input here and in IRC. There were only a few more lines on this topic after you had to leave.


There's likely a reason for vector-version to be formatted the way it is now. Personally, I'm convinced the format will both change and be standardized during the coming release cycle. The result will be the same with or without my input, except that it will take more time with my input. Don't read this as "they won't listen" Smiley  Actually, the opposite is true even in this case. Put another way, I'm happy to wait and see what falls out.

The info I need can be gleaned from elsewhere, which is what I'll do. The only item I don't know how to get otherwise is the build date, which I'll have to take from the last "field" of /etc/vector-version.

The issue isn't "solved", but I've marked it as "withdrawn" with the hope that it won't become more of an issue.
Logged

Robert
VL Light 7.0, icewm/spacefm
M0E-lnx
Administrator
Vectorian
*****
Posts: 3134



« Reply #5 on: December 17, 2013, 06:38:23 pm »

Quote
The current string for 'VLocity' confuses me.  "647.1"
64 [bit] 7.1 [version]?  Sounds logical to me.  While maybe a bit difficult to read, it does maintain six parts to parse. 
I like your suggestion in that it is easier for us with eyes (and don't see what we are looking at  Huh) to read.

I can read it just fine.  I meant it is odd to parse that into computer friendly parts that make sense to human eyes
Logged

roarde
Vectorite
***
Posts: 488


move the needle


« Reply #6 on: December 24, 2013, 04:00:20 pm »

Thought I could let this rest, but will need it sooner than I thought.

As far as we know now:
Is it true that going forward, both 32 and 64 will have the file '/etc/vector-version'?

Leaving the 64-bit flag aside (to simplify by using only 32-bit), the example is:
7.1 STD B1 built on Nov-27-2013
|1 | 2 | 3|  4  |5 |     6    |

Am I right to read this the following way?
1: Maj.min version (7.1)
2: Edition (STD, Light, SOHO, BB)
3: Spin, or release if out of spins (B3, RC1, Gold, LIVE, Deluxe)     Not asking which spins we'll have, just the format.
4: Release if not above, or the word "built", which flags end of fields except for last, the date.
5: If "built" above, "on" here. Other wise "built" or some optional thing.
6: Date.

So throw VL<space> on the front, a .iso on the end, substitute hyphens for spaces, and we have our 32-bit ISO name, right?
Logged

Robert
VL Light 7.0, icewm/spacefm
overthere
Vectorian
****
Posts: 1224



« Reply #7 on: December 24, 2013, 09:20:20 pm »

2cents
Vlocity is a cool name for the 64 bit version and the Standard version should not be confused with it.

My choice would be

(VL)7.1 Standard Final 201x-xx-xx
      7.1 Vlocity Final 201x-xx-xx

user should be familiar with Standard (Std) and velocity as 32 and 64 respectively.
It may be an error to name both standard imho
The "built" "on" are not required imho
Logged

Everything Is Relative
Getrb
Member
*
Posts: 22


« Reply #8 on: December 25, 2013, 05:09:59 am »

Another 2 cents....
Id say there's an value in following mainstream in the naming of an ISO.
Anybody new to VL should be able to instantly choose an ISO from an ftp.
Without doing any research!

Therefore the archive folder might include Vlocity, but to a new user of VL wtf is that standing for?
Eg. is it an Server edition or what............ you really cant tell, and by that you are obviously not following good community practice.
So what im saying is: Vlocity is a dandy name, but use it as a nickname/ showcase.
Not as a syntax labeling for the ISO.

And naming by using UPPERCASE letters is cool on the VL-bit but otherwise seams abit bad from esthetic and  user perspective.
Also remembering a date in your head to type the disto-iso name somewhere seams to me also abit overkill.
Short and informative is key.....

I can easily understand why you'd wanna get an easy syntax incorperated in the name.
But from my perspective it seams like a much better option to have an "metadata" page in the distro.
And by incorperating such, optionaly also can add a bunch of other useful info.
Like install-lists-versions, original kernel, date of release, tweaking options and loads of other goodies an programer/ user finds useful.

The position in a meta-page is not necessary to have fixed, but a fixed labeling of names are good for collecting data.
For example if you knew  that Rel-Date is followed by what you need.
It outha be pretty useful right?
And by making shore to always update this meta-page for each release it becomes very useful as a dictionary for the distro aswell.
Just paste it in changes and no need to reinvent the wheel again, its reuseble in multiple ways.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!