Say I am the developler of a project named... libgeorge!
How am I supposed to name my project versions and latest builds?
Should it be libgeorge-0.1.3.tar.gz or libgeorge0.1.3.tar.gz or libgeorge-20120616.tar.gz or something?
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
I guess I would settle for libgeorge-0.1.3.tar.gz since lua does it like that: http://www.lua.org/ftp/
How do I come up with the version numbers, though? Or should I use dates instead like libgeorge-20120616.tar.gz?
dates would be a problem though if libgeorge's source is changed many times a day.
what i do when i make different versions of my programs i name them like EmpMgtSys.v1.1
Not the answer you are looking for? Search for more explanations.
next version i made was named as EmpMgtSys.v1.2(dd/mm/yyyy)
Also, how do I make my tarballs always extract into a new folder in the current working directory? For example, untarring libgeorge-0.1.3.tar.gz will create libgeorge-0.1.3/ in the current directory.
I don't know how to do this, so people who untar my stuff could lose lots of work and mess up their stuff, especially if they tar xvf libgeorge*tar* in their home directory :(
If you want the tar to extract into a new folder, you need to tar the actual folder instead of its contents. So, let's say your working directory is /home/george/work and below that you have libgeorge - then I'd advise making a version specific copy of libgeorge named "libgeorge-0.1.3" then running...
tar cxf libgeorge-0.1.3.tar.gz libgeorge-0.1.3
Then the actual folder will get tarred instead of just it's contents.
With regard to the actual version number, the choice is yours. Typically, the first number represents a major release with significant (potentially backward-incompatible) changes. The second number typically represents new features that are minor and usually backward compatible, while the third number is usually used for bugfix and patch releases.
This is just a classic scheme. You can use whatever scheme you want.