Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How maintain revision/build component in version?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Oleksandr Gavenko (aka gavenkoa)  
View profile  
 More options Oct 7 2011, 11:05 am
Newsgroups: comp.software.config-mgmt
From: "Oleksandr Gavenko (aka gavenkoa)" <gaven...@gmail.com>
Date: Fri, 7 Oct 2011 08:05:45 -0700 (PDT)
Local: Fri, Oct 7 2011 11:05 am
Subject: How maintain revision/build component in version?
After reading a lot of articles/QAs/FAQs/books I become to think
that [MAJOR].[MINOR].[REV] is most useful versioning schema to
describe compatibility between project version (versioning schema
for developer, does not for marketing).

MAJOR changes is backward incompatible and require changing
project name, path to files, GUIDs, etc.

MINOR changes is backward compatible. Mark introduction of new
features.

REV for security/bug fixes. Backward and forward compatible.

At my job many project depend on internal libraries which stored
on release server (FTP). They have different versions, like:

  1.0.0
  1.1.0
  1.1.1

Path to dependent libraries include version component and hard
coded in build scripts for automatic downloading to *lib* dir.

QUESTION: Is it usual practice to include path to libraries to
build script for in house development?

QUESTION: That is best: include version number in library name or
not? Which component to include? For example:

  libfoo-1.so
  libfoo-1.2.jar
  libfoo-2.3.14.dll

If you include only [MAJOR] you can inline libary name in sources
and with version changes you don't need modify any code. As
library have fixed name you always can ask library version at
runtime (by calling appropriate function).

If you include [MAJOR].[MINOR] component every minor changes
require updating all effected projects (calls for LoadLibrary,
CLASSPATH env var). And you can not check version in runtime as
standard mechanism for searching library in runtime usually does
not allow loading by name with wildcard (like "libbar-2.*").

I think that include [REV] was not needed. You only need to
provide this component somehow for bug reports.

QUESTION: I plan to realize such schema: package releases to
path, like:

  /srv/projs/foo/1.2.2

and created symlink to

  /srv/projs/foo/1.2

from previous path. So every dependent project does not need make
any steps to get latest library. Any one use such schema?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.