Bouml project source control

Please use this forum for open discussions about Bouml.
Merci d'utiliser ce forum pour des discussions ouvertes à propos de Bouml.

Bouml project source control

Postby Dan » Fri 23 Nov 2018 12:44

Hi all,

I want to put a bouml project under source control as part of a small
game I am writing in C++. I currently use CVS.

All the files in the bouml project directory appear to be plain text,
excluding the lock directory.

Do I need to place ALL the files in the project directory under source control?

Are there any 'settings files' elsewhere that need to be added to source control?

Thanks,

Dan.
Dan
 
Posts: 37
Joined: Sat 12 May 2018 13:55
Location: England

Re: Bouml project source control

Postby Bruno Pagès » Fri 23 Nov 2018 13:04

Hi Dan,

Dan wrote:All the files in the bouml project directory appear to be plain text,
excluding the lock directory.

Yes, it would be faster to write/read binary files but to allow changes out of BoUML I use plain text

Dan wrote:Do I need to place ALL the files in the project directory under source control?

Not all, the list of files is explained in https://www.bouml.fr/doc/index_projectfiles.html, the file/dir to not put under source control are the one named from the user_id :
  • <user id>.session : contains the session state (opened diagrams, browser view ...), set when the project is closed
  • <number>_<user id>.d : contains the new definition of a diagram until a save.
  • <number>_<user id>.b : contains the new definitions of a class's operations until a save.
  • <user_id>.lock : a directory created when you load the project, and deleted when you close the project (see Multi users considerations).


Dan wrote:Are there any 'settings files' elsewhere that need to be added to source control?

No, there is no reason to place under source control the files .bouml and .boumlrc and .bouml_shortcuts present into your home directory
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Bouml project source control

Postby Dan » Fri 23 Nov 2018 13:07

Thanks for that, I do this soon.
Dan.
Dan
 
Posts: 37
Joined: Sat 12 May 2018 13:55
Location: England

Re: Bouml project source control

Postby Dan » Fri 23 Nov 2018 13:15

Hi,
So translating your reply into ignore file wild card patterns:

*.d
*.b
*.lock
*.session

Would that do it?
Thanks,
Dan.
Dan
 
Posts: 37
Joined: Sat 12 May 2018 13:55
Location: England

Re: Bouml project source control

Postby Bruno Pagès » Fri 23 Nov 2018 13:36

yes

I also missed the temporary files used when you use an external editor to edit a description/constraint/... (files *.txt) or operation body depending on the language (files *.cpp *.java *.php *.py )
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Bouml project source control

Postby Dan » Fri 23 Nov 2018 13:38

Hi,

I've placed the bouml project under cvs and I can always add other files eg *. txt if they 'appear' !

Thanks,

Dan.
Dan
 
Posts: 37
Joined: Sat 12 May 2018 13:55
Location: England

Re: Bouml project source control

Postby Bruno Pagès » Fri 23 Nov 2018 13:43

If you do the source control management when the project is not load under BoUML you just have to exclude the *.session files
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 603
Joined: Mon 20 Feb 2012 09:23
Location: France


Return to Open discussions / Discussions ouvertes

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron