On Feb 26, 8:20 pm, Simon Cross <hodges
...@gmail.com> wrote:
> Granting anonymous the BUILD_EXEC permission allows anyone to process
> builds (i.e. claim a build and submit results). If you have a widely
> accessible Trac instance, it's probably not a good idea. It's not
> required -- your slaves can authenticate (see bitten-slave --help)
> themselves and you can grant authenticated slaves permissions the same
> way you would any other user.
> > Explanation about the role of this permission would help a lot, esp. with a reference
> > fromhttp://bitten.edgewall.org/wiki/Documentation/install.htmlpage.
> This probably does need updating. Does the wording below makes things clearer?
Much better. Only the usage of the word "build" is confusing. For
people, who see the Bitten for the first time, "Build" can mean
number, binary package, Makefile configuration, revision in
repository, tag or something else. In this respect "to process build"
is something mysterious, "to claim a build and submit results" is
better if you already know about master/slave communication and phrase
"to download build configuration and submit results" would make it
even more clear about the roles of master/slave from the start. The
only question I would like to ask at this point - what kind of results
are accepted by server - could these be binaries or just plain text
metrics? This info in installation part would, of course, better be
seen as a reference.
> =====
> This will create the database tables and directories that Bitten requires.
> You probably also want to grant permissions to someone (such as yourself)
> to manage build configurations, and allow anonymous users to view the
> status and results of builds::
> $ trac-admin /path/to/projenv permission add [yourname] BUILD_ADMIN
> $ trac-admin /path/to/projenv permission add anonymous BUILD_VIEW
> Build slaves (see next section) will need permission to process builds
> which you can grant using::
> $ trac-admin /path/to/projenv permission add [slavegroup] BUILD_EXEC
> Alternatively you may allow anyone to submit builds by given anonymous
> this permission.
> ====
> Schiavo
> Simon
--
anatoly t.