Author Topic: Renaming console_runner to something more C::B specific  (Read 4323 times)

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Renaming console_runner to something more C::B specific
« on: June 03, 2006, 03:35:40 pm »
First it's a thought of Pascal Bleser (a suse packager), but I agree with him :)

console_runner is a very general name what could cause naming problems with other apps, because it's usually installed into a systemwide bindir. But even there won't be name conflicts you don't know to which app it belongs. Since it's part of codeblocks a more specific name like codeblocks_console_runner or cb_console_runner would be better.

What do you think ?

I only talk from a linux user's point of view. ;)
Nightly builds for openSUSE

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Renaming console_runner to something more C::B specific
« Reply #1 on: June 03, 2006, 05:25:48 pm »
Agreed. I (gentoo-user) didn't have any such problem yet, but better we avoid it right now. I don't think that this would be a problematic change - or am I missing something?
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Renaming console_runner to something more C::B specific
« Reply #2 on: June 03, 2006, 11:28:22 pm »
First it's a thought of Pascal Bleser (a suse packager), but I agree with him :)

console_runner is a very general name what could cause naming problems with other apps, because it's usually installed into a systemwide bindir. But even there won't be name conflicts you don't know to which app it belongs. Since it's part of codeblocks a more specific name like codeblocks_console_runner or cb_console_runner would be better.

What do you think ?

I only talk from a linux user's point of view. ;)

Hello.

I did not have any troubles on Ubuntu and Gentoo until now, but as Der Meister said it is better to avoid them.

IMHO cb_console_runner is a good alternative :).

Best wishes,
Michael

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Renaming console_runner to something more C::B specific
« Reply #3 on: June 08, 2006, 07:03:54 pm »
I submitted a patch for this issue (I also posted it in the community patches thread): https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1107&group_id=5358

I renamed the binary name of console_runner to cb_console_runner in sources, project files, *.iss, update scripts and Makefile.am (nearly everywhere I found it ;) )
« Last Edit: June 08, 2006, 07:06:24 pm by daniel2000 »
Nightly builds for openSUSE