|
Alright will check that. thanks for your time and suggetions.
Ravi Khoda
|
|
|
|
|
Branching is evil and is a sign of a flawed process.
This space intentionally left blank.
|
|
|
|
|
Ooh! Ooh! Holy War!
And what, pray tell, is evil about branching off at the point you build a product so that it can be easily be maintained separately or in parallel to the head revision?
TBH I have worked with various repository structures and branch to release has always seemed the easiest and most sensible to me. But what would I know after a quarter century of hacking?
|
|
|
|
|
Nagy Vilmos wrote: a quarter century of hacking
In my quarter century I have never created a branch. In CMS (Code Management System for VMS) we used Classes, now in TFS we use Labels. If your tool doesn't support something like this (I'm looking at you Subversion) then you are using the wrong tool.
Nagy Vilmos wrote: the head revision
That is totally wrong-headed thinking, which is a curse of the "Branch" mentality imposed by inferior tools.
This space intentionally left blank.
|
|
|
|
|
You can branch (to my way of thinking) if you have a legitimate branch in custom business software. A customer wants something and will from thence forth essentially have a separate product that must be maintained, hopefully using libraries to not be totally a new animal.
|
|
|
|
|
PIEBALDconsult wrote: Branching is evil and is a sign of a flawed process.
How do you do an emergency fix of an existing production application?
|
|
|
|
|
He doesn't. He changes his name and moves city to avoid them.
|
|
|
|
|
That depends on the nature of the problem. It's never been an issue.
This space intentionally left blank.
|
|
|
|
|
PIEBALDconsult wrote: It's never been an issue.
Lets make it more specific.
You are working in a company with 20 developers (actual developers not support people) who actively support 8 different products. Each of those products has its own production delivery schedule and each of them goes through following QA process
- Development signs off on the current code.
- QA (or CM) labels a build, then tests that build
- Bugs are cycled back to dev and QA/CM builds/labels/tests until an acceptable level of quality is reached.
- QA then specifies a version to deliver and hands that build (the labeled version) to Operations
- Operations installs that version. So say Operations is running version 5.3.14.
- Development starts or has been working on the next version(s) with some goal that in the future QA will again deliver a version to production.
Operations now reports bug that takes down the production server. It is going down once an hour.
QA is currently in the processing of validating version 5.7.3.
How are you going to fix production?
|
|
|
|
|
jschell wrote: 20 developers (actual developers not support people) who actively support 8 different products. Each of those products has its own production delivery schedule
That's not too far off from where I worked for much of the 90s, but there were more developers and it was about eight customized versions of one product for at least three operating systems. By the time I started there the product was very stable and I only recall one problem that brought down production at one client site.
We were using CMS, with classes, so we knew which version of which file needed to be worked on. It just wasn't an issue.
I didn't even know CMS could do branches until I installed it on my own systems a few years ago.
I'll also state that if you have a lot of bugs, that's also a problem in your process, and branching isn't going to fix it. If you're already entrenched in the "branches will save us" quagmire, then it's too late.
This space intentionally left blank.
|
|
|
|
|
PIEBALDconsult wrote: I'll also state that if you have a lot of bugs, that's also a problem in your process, and branching isn't going to fix it
I will state that in my world problems happen - in production. So solutions are needed - in production.
No one cares about broken process when the server is going down every hour.
But that doesn't mean that I want to deliver code into production without knowing exactly what is there.
PIEBALDconsult wrote: If you're already entrenched in the "branches will save us" quagmire, then it's too late.
That of course has nothing to do with what I said.
|
|
|
|
|
Hello Ravi,
One of the approaches would be to use Version tool like SVN (tortoisesvn.net/about.html).
You can then create branches to maintain different versions of your product.
Please visit the link mentioned above on the usage/details of the product.
Many Thanks & Regards,
Mehul Bhadricha
|
|
|
|
|
thanks for your suggestion. i will check it and get back if i need some more details.
Ravi Khoda
|
|
|
|
|
Search Code Project for versioning tools topic or something similar... there has been tons of post on this subject.
"Program testing can be used to show the presence of bugs, but never to show their absence."
<< please vote!! >>
|
|
|
|
|
I have to take point with your signature...
R. Erasmus wrote: "Program testing can be used to show the presence of bugs, but never to show their absence."
If a previously discovered bug is added to the list of tests to be run (TDD), then the passing of all tests, would include at least one case in which a bugs absence is duly identified... Maybe the specificity of such absence is an issue, but its absences, nonetheless.
|
|
|
|
|
I think you misunderstood the (IMHO) truth expressed in the signature. You can design a test to confirm the absence of most previously identified bugs that do not depend on the timing of multiple asynchronous events. These latter can be the very devil, not only to identify and fix but to be sure that you have fixed! What you usually can't do is devise a test that shows that anything except a trivial program is free of all possible bugs.
|
|
|
|
|
You might be interested in the source of that quotation[^]
Gus Gustafson
|
|
|
|
|
The absolute minimum is to keep a copy of the code that went into each release. Duplicate those copies to give you a place to do continued work, for example one copy to do bugfixes to the current product, another for the new development that goes into the next release. Revision control systems give you the ability to create these copies virtually so you don't have the mess of full copies of the code lying around.
At a minimum, you want to be able to put out bugfix releases while you're still in the middle of adding and debugging the new features for the next major release, so you need three copies (one to archive the code that was in the code of the actual release).
We can program with only 1's, but if all you've got are zeros, you've got nothing.
|
|
|
|
|
ravikhoda wrote: there may be new plugins/ functionality will be added to the product which may be separate module or may be interconnected with existing modules.
You need to decide exactly what that means.
Specifically is a "plugin" going to be treated as a separate deliverable or will they always be part of the original product.
An alternative way to think of this is if your "product" is on version 2.1.3 will Plugin XXX be version 2.1.3 or can it be 15.8.16?
If it is a separate deliverable then that impacts your layout and can also impact your choice of version control.
|
|
|
|
|
"Report turns 'Comfortably Positioned' to 'Trendy'!"(7)
Not too hard but you may have to think for a bit.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Probably not the answer you want but:
Banging - can mean trendy
Report - bang
ING - are comfortably positioned in the banking world.
|
|
|
|
|
Not a proper CCC I know, but you do get two for the price of one
Macerating food in stomach is confusing wildebeest with one less very slow beast
|
|
|
|
|
Remodeled snub in received stolen piece maybe? (7)
|
|
|
|
|
Snub? are you sure?
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
It seemed relevant at the time. At least it was better than this unfinished one:
finally feeling you can guess which two lost
|
|
|
|