Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/06/10 07:42
Read: times


 
#177754 - Don't you think I try to avoid it too?
Responding to: ???'s previous message
Jan Waclawek said:
> I most often _am_ the IT support

I am NOT, and none of us is. We do "IT support" out of necessity but hate it and try to avoid it.

And you think I'm different? I most often am the IT support only for the single reason that people think I'm "clever" with computers. Does that mean I like it? Don't you think I try to avoid it? However, I can't ignore the situation - source code needs to get backed up. Source code needs to be version-controlled.

This is what surely makes a huge difference.

No, this is surely an example of you making the wrong assumptions.

> Have you looked at just downloading and installing CVSNT on your workstation machine?

I don't know what is CVSNT. If it's some local soft of CVS, no, I haven't. I've been told long ago that CVS is dead.

I have heard a lot about CVS being dead. That is mainly because SVN is better than CVS. CVS is still way ahead of ZIP files or duplicated directories. Your current method is about a thousand times more "dead". Some customers turn around and select other suppliers if source versioning tools are not used.


CVSNT is a port of CVS for use on Windows. There is both a client and a server side available. The port to Windows have added a number of features - for example using Windows authentication besides the traditional pserver or ssh. And it supports unicode.

But we drift away from the topic. I was interested in the costs. Naturally, if you feel yourself to be an IT guy and work quite a lot in that direction, you will naturally tend to downsize the time/costs involved.

If I work in my own company, it would be very stupid of me to try to underestimate time/costs involved. I have incentives for maximizing my own productivity. Same thing if I work in a smaller company that I own a percentage of.

In the company where I used svn the guy who maintained it (not a "dedicated" "IT", too) spent maybe an order of magnitude more time with the maintenance (setting up new users, new repositories, sorting out conflicts, moving repositories around when need came) than he would admit; not to mention the time to be divided between svn and other "services" e.g. when setting up a new machine.


It takes a couple of minutes to add a user.
It takes a couple of minutes to assign specific project rights, unless everyone gets full rights from the start.
If using the copy method, I still need to give out access rights to the target machine.
So access rights/users is about same-same whatever method.

Sorting out conflicts? Depends on how you work. You normally let the developers sort their own conflicts. If you copy/paste files and have multiple developers you will always have conflicts - unless of course you just miss them becase the copy/paste overwrites someone elses changes silently. Big oops.

The repository route gives one more way you can have conflicts - by working in multiple threads and then merge the changes. If you don't like these merges, then don't work with multiple threads. You don't have that option anyway if using ZIP files or copying directories, because then you would always have to spend sigificant times with three-way diffs.

Moving repositories? Not more work than moving your directory trees where you store all your saved snapshots. And the big question is of course - why the need to move around repositories?

Setting up new "services" for a new machine? Same if the source code is stored on just a standard file server - that machine still needs standard services for backup, time synchronization, ...

For the machine hosting a source code repository, there are basically two alternatives:
- the machine sees the repository as just a shared directory tree.
- the machine has a directory tree to backup (often not shared), and also a server program that is listening for commands on a port.

And that machine can be your workstation. Or your workstation with a virtual machine running in it. Or an existing server. Or an existing server with a virtual machine running in it. Or a dedicated machine.

So if you have an IT guy who have to spend a lot of time, then it is time to sit down and analyze exactly where the problem is.
- are you using the system in a problematic way?
- are he doing something you as developer should have done?
- are he doing something wrong?
- would it really have made a difference if you had zipped directory trees?

The last 12 months, I may have spent two hours in total of administrative time on source code repositories. This for 8 developers and quite a number of projects.

If I want to modify a single source file and someone else also changes it concurrently (and we chose not to lock the file) then I do not consider it administrative time when I have to resolve conflicts in the source code. The alternative (what I would have had to do if just copying files) would have been to throw away my changes and let the faster copier win. Then add my changes again. Handling the conflicts is normally way faster. And this is a developer task, not an IT staff task. The C in CVS is "Concurrent" - i.e. a tool intended to allow concurrent development of source code without a need to lock out all other developers. SVN of course also handles this.

If I want to develop using multiple tracks and then merge them together, I don't consider that administrative time. If I do want to separate work-in-progress from maintainance releases, I have to merge bug fixes whatever methods I use. And it is a developer task, not an IT staff task. I can use diff and manually copy/paste code. Or I can have the versioning-control software automatically move code lines as long as there are no conflicts, and have it just mark the conflicting blocks for me to consider.

What does take time in an organisation is not really the use of a source-code repository. The expensive part is normally things like:
- having dedicated build machines supporting automatic builds with controlled compiler versions and of tagged releases
- having configuration control - which customer should have access to what software releases. over-the-air packages identical to factory releases?
- having test solutions - nightly builds with regression testing etc, test servers, devices running long-time tests, ...
- having checkpoints with sign-offs: This change accepted by customer? This set of features to be included in the revision? This release properly tested? This release accepted by customer? This set of configurations/versions for use on the customer devices? This shipping order complete with all required information?
- making sure all required documentation exists
- ...

The repository is the low-maintainance part that pays for itself greatly down the road.

The fact is that the amount of time I have spent in this thread alone is way more that it would take to have a repository up and running, and having checked that a "backup-now" does work. The next logical step would be to check tomorrow that the backup files did reach the backup media.

Developers who have never used any source code repository may have to spend a couple of hours reading the quick-start-guide and the FAQ for the selected tool. But no more time than they can reclaim within the first year because of the improved ways to track changes or separate work-in-progress from maintainance releases.

List of 59 messages in thread
TopicAuthorDate
time and money            01/01/70 00:00      
   My take.            01/01/70 00:00      
      Not obvious that an ICE is faster to use than print            01/01/70 00:00      
         I recall a comment            01/01/70 00:00      
            Good to look at available hw early on in project            01/01/70 00:00      
               I'd love to dump the values from the ADC channels ...            01/01/70 00:00      
                  Always a question of making most use of what you got            01/01/70 00:00      
                  Where there's a will ...            01/01/70 00:00      
                     ... there's a way.            01/01/70 00:00      
   investing in good tools            01/01/70 00:00      
      Cost benefit insanity            01/01/70 00:00      
         "We will save money ...            01/01/70 00:00      
         costs, one-time and repeated            01/01/70 00:00      
            VMware may be an alternative            01/01/70 00:00      
            subversion server            01/01/70 00:00      
               time is money            01/01/70 00:00      
                  A price estimate            01/01/70 00:00      
                     svn cost            01/01/70 00:00      
                        I most often _am_ the IT support            01/01/70 00:00      
                           Then that's the major difference            01/01/70 00:00      
                              Don't you think I try to avoid it too?            01/01/70 00:00      
                        re: svn cost estimate            01/01/70 00:00      
                           Cost for single user            01/01/70 00:00      
                              RE: I'd hope to do it in less than one hour.            01/01/70 00:00      
                                 True, back to time and money though            01/01/70 00:00      
                                    Investment            01/01/70 00:00      
                  revision control when money is scarce and volume is small            01/01/70 00:00      
                     Far too infrequent!            01/01/70 00:00      
                     Directory copies not really fun for version control            01/01/70 00:00      
                        no, I agree            01/01/70 00:00      
                           VCS on your own            01/01/70 00:00      
                              Ditto that            01/01/70 00:00      
                                 Further...            01/01/70 00:00      
                     So inadequate            01/01/70 00:00      
                        that's no difference            01/01/70 00:00      
                  svn benefits            01/01/70 00:00      
                     why?            01/01/70 00:00      
                        Working files, released files, change logs            01/01/70 00:00      
                           a comment on 'revision control' and such            01/01/70 00:00      
                              If a new version does not work find out why            01/01/70 00:00      
                                 the basic premise of my post was ...            01/01/70 00:00      
                                    Thats a good point, but            01/01/70 00:00      
                              Let a pro have good tools - don't worry about fools            01/01/70 00:00      
                              Revert safety net            01/01/70 00:00      
         Budget Insanity            01/01/70 00:00      
            Dilbert            01/01/70 00:00      
   Right Tools            01/01/70 00:00      
      Well, I'm with you there ...            01/01/70 00:00      
      Design            01/01/70 00:00      
   For "professionals" this is good advice, but...            01/01/70 00:00      
      This is exactly what I've been harping on ...            01/01/70 00:00      
         Not "forcing"            01/01/70 00:00      
      You missed Erik's point            01/01/70 00:00      
      you are wrong            01/01/70 00:00      
         professional/critical            01/01/70 00:00      
   Seasoned Professional versus green            01/01/70 00:00      
   Is it either Or?            01/01/70 00:00      
   an addendum            01/01/70 00:00      
   Too simplistic!            01/01/70 00:00      

Back to Subject List