Jump to content

server.conf documentation


Recommended Posts

That's not what I'm looking for, but I did eventually find it:

https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Serverconfiguration
This section describes steps for using clconfigureserver .

https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Authenticationconfiguration
This section describes steps for using umtool .

Unfortunately, some of these commands are interactive, making them unnecessarily difficult to script.

 

It looks like I'll have to just reverse-engineer the HTTP API, or else the XML and other files, and write my own tools for Configuring Plastic Server.

Link to comment
Share on other sites

That's the gist of it.

I need to be able to hire a subcontractor, send them a script, and say "run this - then you will have a complete development environment", so that I'm not paying people to waste time pushing GUI buttons.

I need to be able to start a new computer, or re-image an existing computer that needed reimaging for whatever reason, and click my "set up computer for business operations" program, instead of having to waste time pushing GUI buttons the same way every time.

I am going to eventually need to be able to set up continuous integration processes, and I suspect that not being able to change server settings automatically would make certain aspects of that unnecessarily difficult.

That doesn't require there to be command-line tools for modifying all the properties.  It's plenty easy to set values in XML, JSON, and INI files from a script.

 

I'm surprised this is being questioned at all.  Git, SVN, Mercurial, Perforce, Docker, and the list goes on, are all configurable entirely from a script.  Heck, most of the Windows operating system, which is gargantuan, is almost entirely configurable from PowerShell.  As I'm working to automate more and more of my business, I'm finding that even if the other programs don't have console programs for configuring, they at least have documentation on their config files.  Even programs without proper documentation at least have a full enumeration of properties in their config files (and a consistent schema across config files).  Plastic has an odd mix of key-space-value, key-colon-value, key-equals-value, XML, etc, almost none of it is documented, a small subset of it is covered by the included "example configs", and only some of it is configurable without a human actively waving a mouse around.

I did just figure out that `clconfigureserver` can be used non-interactively, when I came across an example in a forum post.  Too bad that feature isn't documented.

 

Here's another way of looking at it.  Why are they text files?  If they're not supposed to be modified by the user, then why not use binary serialization?  You have probably needed to modify the files by hand yourself from time to time.  Your users need to just as much (I find myself having to do that every month or two to work around issues or lack of features).  But we lack the information to do so accurately, without having to reverse-engineer the puzzle that you created.

 

The original intent of this post was to find out where the documentation is, since I didn't find it easily by myself.  Since it's been clarified in this discussion that the documentation does not exist at all, I've gone ahead and created a request on Uservoice.

Link to comment
Share on other sites

As you mentioned, for your specific scenario, you can use "clconfigureserver --help" or you can manually edit the confoiguration files. I wanted to know the details of your needs because this is not a common request. For every Plastic command, the best docuemntation is included in the "--help" flag. it includes all the available paramters and some examples.

Not only for the server confiuration, but in general for every Plastic command.

Our customers tend to prefer to configure the server via webadmin fine tunning all the parameters, setting the authentication mode, creating the custom users...

Then, if you need to apply the same configuration on a different machine, you can just distribute all the configuration files to the secondary servers. It's not necessary to reconfigure it from scratch.

Regards,

Carlos.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...