Ticket #1477 (reopened defect)

Opened 4 years ago

Last modified 4 years ago

Combine multiple binaries into "campsite-admin"

Reported by: paul Assigned to: mugur
Priority: normal Milestone: zero
Component: Install Scripts Version: none
Severity: feature Keywords:

Description (Last modified by mugur)

Instead of having "campsite-create-instance" and "campsite-restore-instance", etc., have one binary called "campsite-admin" that takes multiple arguments, like "campsite-admin create". If "campsite-admin" is executed without a command, it will print the help. If a command is executed without arguments, it should also print the help (something which does not currently happen).

Change History

10/20/05 09:36:47 changed by mugur

  • status changed from new to closed.
  • resolution set to wontfix.

There are only four utilities: create_instance, remove_instance, backup_instance and restore_instance. I doubt we would gain much by having a single campsite_admin script. Instead, I would have to spend a lot of time rewriting scripts, implementing complex code for processing the multitude of parameters, instead of focusing on what is really important: new campsite features. Conclusion: IMHO it's not worth it. The current scripts work just well.

10/20/05 14:57:56 changed by paul

  • status changed from closed to reopened.
  • version changed from 2.3.0 to none.
  • resolution deleted.
  • milestone changed from 2.4.0 to 4.0.0.

Ok, but lets not close it. Moving it to the far future. Anything that makes it easier to use campsite is a good thing.

10/20/05 16:31:20 changed by anonymous

We also need to give these scripts names that clearly identify them with campsite (so that people don't run them by mistake). There is some good logic to naming as Paul suggested: it would be in line which cvs, svn, mysqladmin, which use syntax like

cvs add mysqladmin drop campsite svn merge ...etc

We should move to using hyphens instead of underscores as well -- much more standard way of naming files, eg update-desktop-database, and all other GNOMEish commands.

So, if you don't want to wrap them into one, fine, but at least consider changing to

campsite-create campsite-backup campsite-restore campsite-remove

...Something like that?

03/22/06 21:35:04 changed by mugur

  • description changed.
  • milestone changed from 4.0.0 to none.