Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
BUILD_EXEC
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
anatoly techtonik  
View profile  
 More options Feb 26 2010, 12:12 pm
From: anatoly techtonik <techto...@gmail.com>
Date: Fri, 26 Feb 2010 09:12:45 -0800 (PST)
Local: Fri, Feb 26 2010 12:12 pm
Subject: BUILD_EXEC
Hello,

I am just starting to learn Bitten. What is the point of granting
anonymous BUILD_EXEC permission? Does that mean that just anybody can
submit builds to my Trac instance? Is it safe? Explanation about the
role of this permission would help a lot, esp. with a reference from
http://bitten.edgewall.org/wiki/Documentation/install.html page.

--
anatoly t.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Cross  
View profile  
 More options Feb 26 2010, 1:20 pm
From: Simon Cross <hodges...@gmail.com>
Date: Fri, 26 Feb 2010 20:20:18 +0200
Local: Fri, Feb 26 2010 1:20 pm
Subject: Re: [Bitten] BUILD_EXEC

On Fri, Feb 26, 2010 at 7:12 PM, anatoly techtonik <techto...@gmail.com> wrote:
> I am just starting to learn Bitten. What is the point of granting
> anonymous BUILD_EXEC permission? Does that mean that just anybody can
> submit builds to my Trac instance? Is it safe?

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
> from http://bitten.edgewall.org/wiki/Documentation/install.html page.

This probably does need updating.  Does the wording below makes things clearer?

=====
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anatoly techtonik  
View profile  
 More options Feb 26 2010, 1:44 pm
From: anatoly techtonik <techto...@gmail.com>
Date: Fri, 26 Feb 2010 10:44:47 -0800 (PST)
Local: Fri, Feb 26 2010 1:44 pm
Subject: Re: BUILD_EXEC
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.

--
anatoly t.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
potter  
View profile  
 More options Feb 26 2010, 1:54 pm
From: potter <potter2...@gmail.com>
Date: Fri, 26 Feb 2010 10:54:07 -0800 (PST)
Local: Fri, Feb 26 2010 1:54 pm
Subject: Re: BUILD_EXEC
Hmm, that page doesn't describe BUILD_EXEC, though it should.

BUILD_EXEC is the permission that the bitten-slaves need to work.
With this it would allow them to:
 * Connect to the bitten-master to get build requests.
 * Submit results of such builds.  This would include:
   * Success or Failure of the build.
   * Logs of each step.
   * Lint, Coverage, and/or Unit-tests results.
   * Attachments to the Build pages.
For simplicity of an initial installation, I can see giving anonymous
this ability.  This would allow one to get the slaves operational
without those pesky authentication issues getting in they way
(sarcasm).  I could see with this configuration, anyone could abuse
the Bitten system.  I personally defined a new user in Trac and only
that one user has BUILD_EXEC permission.  Originally that was the only
permission that I gave this new user and plan to move back to that
model shortly.

On Feb 26, 12:12 pm, anatoly techtonik <techto...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Martin Borgert  
View profile  
 More options Feb 26 2010, 2:10 pm
From: "W. Martin Borgert" <deba...@debian.org>
Date: Fri, 26 Feb 2010 20:10:26 +0100
Local: Fri, Feb 26 2010 2:10 pm
Subject: Re: [Bitten] BUILD_EXEC
Quoting "anatoly techtonik" <techto...@gmail.com>:

> What is the point of granting
> anonymous BUILD_EXEC permission?

I have a "bitten" user in my Trac and all authenticated users have
BUILD_EXEC permission. I don't know wether this is the best way,
but it works.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anatoly techtonik  
View profile  
 More options Feb 26 2010, 3:10 pm
From: anatoly techtonik <techto...@gmail.com>
Date: Fri, 26 Feb 2010 12:10:22 -0800 (PST)
Local: Fri, Feb 26 2010 3:10 pm
Subject: Re: BUILD_EXEC
Thanks for prompt replies. I now reached Zen of Bitten permissions. =)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anatoly techtonik  
View profile  
 More options Mar 28 2010, 3:52 pm
From: anatoly techtonik <techto...@gmail.com>
Date: Sun, 28 Mar 2010 12:52:04 -0700 (PDT)
Local: Sun, Mar 28 2010 3:52 pm
Subject: Re: BUILD_EXEC
I couldn't spot any differences in documentation, so I've created a
ticket for docs update. It is ticket #555 - a lucky number that makes
me wonder if all the docs need a major update?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »