aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: CVS command-line parameter is a PITA  (Read 4485 times)

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
CVS command-line parameter is a PITA
« on: December 13, 2006, 01:41:47 PM »

What exactly is the purpose of the --even-if-lfroen-complains-this-will-stay parameter (and all the similar ones that have gone before it) required to run CVS ?

As far as this end-user is concerned, it is royal PITA.

I run amule from scripts, and so my scripts have to be changed  every time I switch between CVS and regular releases or when the parameter is arbitrarily changed to something else.

I have been running amuled the past week and I wanted to set it up as a service under FC6, but because I am running CVS the amuled init.d script on http://www.amule.org/wiki/index.php/FAQ_amuled doesn't work. Last night I tried to fix the script to work with that parameter without success.  X(

Please, just get rid of it!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: CVS command-line parameter is a PITA
« Reply #1 on: December 13, 2006, 05:25:56 PM »

Why don't you get rid of it yourself? just search for it in the code.
Logged

centaur

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 16
Re: CVS command-line parameter is a PITA
« Reply #2 on: December 13, 2006, 09:37:20 PM »

Wouldn't fixing the script be easier and better? I imagine the PITA parameter are included to
make sure whoever runs the CVS version is sure of what (s)he is doing.
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: CVS command-line parameter is a PITA
« Reply #3 on: December 13, 2006, 09:46:35 PM »

Quote
I imagine the PITA parameter are included to
make sure whoever runs the CVS version is sure of what (s)he is doing.

My conjecture as well. Surely anyone who is clever enough to download the source and compile it knows what they are doing.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: CVS command-line parameter is a PITA
« Reply #4 on: December 13, 2006, 09:55:47 PM »

Don't do it, I'll be missing all the funny flags one had to type all the time. :)

desudesudesu
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: CVS command-line parameter is a PITA
« Reply #5 on: December 14, 2006, 06:57:12 PM »

Quote
Originally posted by Kry
Why don't you get rid of it yourself? just search for it in the code.

Wow, that is really user-friendly.

You still don't answer why this stupid parameter is there in the first place. I've downloaded and compiled countless programs from source under Linux, and aMule is the only one which makes its users go through this silliness.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: CVS command-line parameter is a PITA
« Reply #6 on: December 14, 2006, 07:43:47 PM »

Aren't we special?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: CVS command-line parameter is a PITA
« Reply #7 on: December 14, 2006, 08:25:40 PM »

Remember: This is only in CVS.

You know: CVS versions are very scary and dangerous, might burn your house, kill your dog, break your CD collection and so on and should only be run when you know what you are doing. That's why there's the flag. (To answer your question)

And not to forget: aMule developers are evil. Don't make them think about the flag or they'll think about something worse.
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: CVS command-line parameter is a PITA
« Reply #8 on: December 15, 2006, 03:24:32 PM »

Quote
Originally posted by Kry
Aren't we special?

Actually, juvenile comes to mind, at least in this context.

I make a legitimate complaint about a "feature" whose sole purpose appears to be to be a nuisance to users, and all you want to do is play games.

Is all of this just one big ego trip for you Kry?

Maybe in real life you are not a geeky, wiseass teenager but you sure act like one here.
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: CVS command-line parameter is a PITA
« Reply #9 on: December 15, 2006, 03:31:55 PM »

Quote
Originally posted by wuischke
You know: CVS versions are very scary and dangerous, might burn your house, kill your dog, break your CD collection and so on and should only be run when you know what you are doing. That's why there's the flag. (To answer your question)

Utter nonsense. We are not dealing with disk partitioning software or some kind of low-level utility.

Wuischke, why are you playing these silly games as well?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: CVS command-line parameter is a PITA
« Reply #10 on: December 15, 2006, 03:55:25 PM »

Quote
Originally posted by Ezeltje
Quote
Originally posted by wuischke
You know: CVS versions are very scary and dangerous, might burn your house, kill your dog, break your CD collection and so on and should only be run when you know what you are doing. That's why there's the flag. (To answer your question)

Utter nonsense. We are not dealing with disk partitioning software or some kind of low-level utility.

Wuischke, why are you playing these silly games as well?

No, we're just dealing with an app that could potentially harm an entire network (Kad), along with your entire download queue, and potentially your entiry system due to a buffer overrun/underrun, and some other yummy things SVN versions can do to you.

Quote
Actually, juvenile comes to mind, at least in this context.

We enjoy being juvenile instead of old, boring men.

Quote
I make a legitimate complaint about a "feature" whose sole purpose appears to be to be a nuisance to users, and all you want to do is play games.

Your use of "legitimate" and the plural on "users" is wrong in that sentence.

And yeah, let's play games. Read about "juvenile" above.

Quote
Is all of this just one big ego trip for you Kry?

I can't have an ego trip. My ego is too big to move.

Quote
Maybe in real life you are not a geeky, wiseass teenager but you sure act like one here.

I do. actually, in realife I'm a geeky, wiseass 26-year old young man.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: CVS command-line parameter is a PITA
« Reply #11 on: December 15, 2006, 09:29:15 PM »

[serious mode on]
You know a bit shell scripting? I will hint you on what to do (amule.cpp):
Code: [Select]
449 if ( !cmdline.Found(wxT("even-if-lfroen-complains-this-will-stay")) ) {
450 printf("This binary requires you to use the flag --even-if-lfroen-complains-this-will-stay and only if you're very sure of it. Warning: If you're lfroen, you might find this annoying. That pleases me.\n");
451 return false;
452 }
Have a closer look at line 451, think about the correct usage of // or /* */ and write yourself a script, which adds some characters/removes them.

You might call it a silly game and when you search the forum you'll know, that I was annoyed by this as well.
Now I don't care about typing anymore, I usually don't start aMule more than one time a day and type pretty fast. But there already were complaints about destroyed files due to SVN versions and some other issues with svn as well
[serious mode off]

... and should Kry get home really drunk and think it would be funny to add a 'make more space on the hdd'-feature and your entire hard disk is deleted, you've been at least warned.

Edit: And here are the irony-tags I forgot in my last post...:
[irony mode on]
[irony mode off]
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: CVS command-line parameter is a PITA
« Reply #12 on: December 15, 2006, 10:03:26 PM »

Quote
Originally posted by wuischke
... and should Kry get home really drunk and think it would be funny to add a 'make more space on the hdd'-feature and your entire hard disk is deleted, you've been at least warned.

... and then blame you for it!
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: CVS command-line parameter is a PITA
« Reply #13 on: December 17, 2006, 01:56:15 AM »

Last night I wrote a small script which comments out the obligatory parameter, so I am happy now; the init.d script now works with amuled CVS.  :D

Now I am going to play with the new Events Phoenix just added...  :D :D :D
Logged

lfroen

  • Guest
Re: CVS command-line parameter is a PITA
« Reply #14 on: December 17, 2006, 01:27:26 PM »

"even-if-lfroen-complains-this-will-stay" - IMHO such flags are silly. But - 1) harmless 2) it have my name in it.
Logged
Pages: [1] 2