[drupal-devel] Beginner using Tortoise CVS seeks help!
This is the very first time I've tried to contribute to Drupal, or use a CVS of any description, or use this list, so please bear with me if I am making mistakes or asking idiot questions. I would also like to start by saying how much I appreciate the Drupal community and all the help I've had over many months - which is why I would like to make a very modest contribution of my own. I've managed to install Tortoise CVS and after a bit of messing about succeeded in doing a "checkout", which I think uses the same commands as those in the Drupal instructions. I've also successfully created a new directory in the list of modules called "checkout" (confusingly, this is actually the name of the module I want to contribute). So I have made a start. However, there are some first questions I would like to ask: 1) My success with Tortoise so far has downloaded to my workstation what looks like the ENTIRE Drupal CVS. Apparently I could update anything in this - that makes me very nervous that I might mess up someone else's work, or Drupal core worse still. Is there any way to avoid this? 2) Do I need to keep all these directories on my workstation for the CVS to work? 3) Is there anywhere some documentation for helping a Tortoise user with Drupal to get started? 4) I seem to have managed to create a "Checkout" module (tomorrow I will try to create the project under Drupal) in the CVS, with all the appropriate files - not sure that I understand tagging and branching yet, so will have to see if it works. But every time I load a file to the CVS server I get this message in the Tortoise window: initial revision: 1.1 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings. Do I need to worry about this? Many thanks to all, and again my apologies if I'm wasting your time. JG ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
On Tue, 20 Sep 2005, Joel Guesclin wrote:
1) My success with Tortoise so far has downloaded to my workstation what looks like the ENTIRE Drupal CVS.
Contrib only most likely.
Apparently I could update anything in this - that makes me very nervous that I might mess up someone else's work,
You should because you can in fact.
or Drupal core worse still.
You can't break anythign there.
Is there any way to avoid this?
tread carefully. :p Do only execute commands when inside you own module's directory. (dunno how much this applies to a GUI CVS thing).
2) Do I need to keep all these directories on my workstation for the CVS to work?
No.
3) Is there anywhere some documentation for helping a Tortoise user with Drupal to get started?
I recall seeing something in the handbook. Since Drupal's CVS is just a CVS you can look at any CVS docs.
4) I seem to have managed to create a "Checkout" module (tomorrow I will try to create the project under Drupal) in the CVS, with all the appropriate files
Looks good.
- not sure that I understand tagging and branching yet, so will have to see if it works.
Be extremely carefull with this one. You will get a lot of people very angry if you should branch the whole cvs repository.
But every time I load a file to the CVS server I get this message in the Tortoise window: initial revision: 1.1 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings.
Do I need to worry about this?
No, you don't. Cheers, Gerhard
DISCLAIMER: I've only been at this a couple months myself, but here's my understanding of how it works. Anyone else, feel free to correct me. :) Joel Guesclin wrote: <snip>
1) My success with Tortoise so far has downloaded to my workstation what looks like the ENTIRE Drupal CVS. Apparently I could update anything in this - that makes me very nervous that I might mess up someone else's work, or Drupal core worse still. Is there any way to avoid this?
There are two repositories: - drupal: the Drupal core files--only Dries and a couple other people have write access to this, but anyone can do an anonymous checkout. - contributions: which contains any user-contributed stuff (themes, modules, translations, etc.). Changes you make here can indeed affect anything in this repository, but will not affect Drupal core files. To avoid writing over others' changes (something I've accidentally done myself :\), there are two things you should do: 1. Always perform an Update (right-click, CVS Update) prior to committing any changes. This way you can make sure your files are up-to-date and can tell ahead of time if there are any conflicts. 2. Highlight only the specific file(s) you are changing before committing (ctrl+click to highlight specific files, then right-click, CVS Commit).
2) Do I need to keep all these directories on my workstation for the CVS to work?
No, just the directory your module is in (checkout).
3) Is there anywhere some documentation for helping a Tortoise user with Drupal to get started?
I wrote up some awhile back in my SoC blog here: http://www.planetsoc.com/node/90. Let me know if you find it at all helpful, and I can maybe clean it up some and make a handbook page out of it.
4) I seem to have managed to create a "Checkout" module (tomorrow I will try to create the project under Drupal) in the CVS, with all the appropriate files - not sure that I understand tagging and branching yet, so will have to see if it works. But every time I load a file to the CVS server I get this message in the Tortoise window: initial revision: 1.1 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings.
Do I need to worry about this?
No. Though I've not managed to find a definitive reason as to why it does this, the responses I received when I asked that question were along the lines of, "Because CVS sucks." ;) So you should be ok to ignore it.
Angie Byron wrote:
every time I load a file to the CVS server I get this message in the Tortoise window: initial revision: 1.1 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings.
does this, the responses I received when I asked that question were along the lines of, "Because CVS sucks." ;)
it's not so much because CVS sucks, but because our CVS admin is lazy^H^H^H^Hbusy: http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_... -- ax
If you are serious about learning some CVS (or better: open source development process) I suggest you read the very good book on this: http://cvsbook.red-bean.com/ It is available as paper, free PDF or even as HTML. Op woensdag 21 september 2005 00:02, schreef Joel Guesclin:
This is the very first time I've tried to contribute to Drupal, or use a CVS of any description, or use this list, so please bear with me if I am making mistakes or asking idiot questions. I would also like to start by saying how much I appreciate the Drupal community and all the help I've had over many months - which is why I would like to make a very modest contribution of my own.
I've managed to install Tortoise CVS and after a bit of messing about succeeded in doing a "checkout", which I think uses the same commands as those in the Drupal instructions. I've also successfully created a new directory in the list of modules called "checkout" (confusingly, this is actually the name of the module I want to contribute). So I have made a start. However, there are some first questions I would like to ask:
1) My success with Tortoise so far has downloaded to my workstation what looks like the ENTIRE Drupal CVS. Apparently I could update anything in this - that makes me very nervous that I might mess up someone else's work, or Drupal core worse still. Is there any way to avoid this?
2) Do I need to keep all these directories on my workstation for the CVS to work?
3) Is there anywhere some documentation for helping a Tortoise user with Drupal to get started?
4) I seem to have managed to create a "Checkout" module (tomorrow I will try to create the project under Drupal) in the CVS, with all the appropriate files - not sure that I understand tagging and branching yet, so will have to see if it works. But every time I load a file to the CVS server I get this message in the Tortoise window: initial revision: 1.1 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings.
Do I need to worry about this?
Many thanks to all, and again my apologies if I'm wasting your time.
JG
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ]
participants (5)
-
Angie Byron -
Axel Kollmorgen -
Bèr Kessels -
Gerhard Killesreiter -
Joel Guesclin