New member intro
by Paul Guglielmino
Hello everyone,
I joined the mail list about a week ago and wanted to send an introduction.
I've been working with unix systems for about 10 years. First as a
volunteer at my university and then at several companies. I'm
currently working with a software company as an operations engineer
for a web application that is in development. I work with the
developers on design issues, maintain the build servers and deployment
tools and keep all the servers running. We use fedora, apache, tomcat,
hudson, svn and other open source tools. Shell or perl are my primary
scripting languages but I'm at an immediate level with python.
Thanks!
Paul
14 years, 10 months
CVS upgrade step2
by Mike McGrath
So I was going to finish the upgrade to cvs1 on Thursday or Friday. Both
Jesse and Toshio are out of the country though and it strikes me as a bad
idea to make potentially massive changes to that box without having at
least one of them around as backup :)
So I'm going to wait until next week.
-Mike
14 years, 10 months
[PATCH RFC] hosted-setup.sh: Automate trac-admin initenv
by Todd Zullinger
This avoids the need for prompting for values that can easily be
determined from the project name and the new REPOSTYPE argument.
This could be further improved to call a script to setup the
repository and any mailing lists.
---
As I'm still learning my way around sysadmin-hosted, I thought I'd ask
for some comments before committing a change like this.
In the process of handling requests, I'm hoping to help improve the
documentation and process so that it is easier and less error-prone.
It should probably also use && after each command so that any failures
stop execution, but I haven't tested trac-admin to verify that it sets
the return code or not.
configs/web/applications/hosted-setup.sh | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/configs/web/applications/hosted-setup.sh b/configs/web/applications/hosted-setup.sh
index 7adf080..42134f6 100644
--- a/configs/web/applications/hosted-setup.sh
+++ b/configs/web/applications/hosted-setup.sh
@@ -1,16 +1,23 @@
#!/bin/bash
-usage="Usage: $0 [PROJECT] [ADMIN]"
+usage="Usage: $0 <PROJECT> <ADMIN> <REPOSTYPE>"
-[ -z "$1" -o -z "$2" ] && {
+[ -z "$1" -o -z "$2" -o -z "$3" ] && {
echo $usage
exit 1
}
-sudo -u apache trac-admin /srv/web/trac/projects/${1} initenv
-sudo -u apache trac-admin /srv/web/trac/projects/${1} permission add ${2} TRAC_ADMIN
-sudo -u apache trac-admin /srv/web/trac/projects/${1} permission add authenticated WIKI_CREATE TICKET_CREATE TICKET_MODIFY WIKI_MODIFY
-sudo -u apache trac-admin /srv/web/trac/projects/${1} permission remove anonymous WIKI_CREATE TICKET_CREATE TICKET_MODIFY WIKI_MODIFY
-sudo -u apache chown -R apache.apache /srv/web/trac/projects/${1}
-sudo -u apache sed -i "s,base_url.*,base_url = https://fedorahosted.org/${1}/," /srv/web/trac/projects/${1}/conf/trac.ini
+projectname="$1"
+projectadmin="$2"
+db="sqlite:db/trac.db"
+repostype="$3"
+repospath="/srv/$repostype/$projectname"
+[ "$repostype" = "git" ] && repospath="$repospath.git"
+templatepath="$(python -c 'from trac.config import default_dir; print default_dir("templates")')"
+sudo -u apache trac-admin /srv/web/trac/projects/$projectname initenv $projectname $db $repostype $repospath $templatepath
+sudo -u apache trac-admin /srv/web/trac/projects/$projectname permission add $projectadmin TRAC_ADMIN
+sudo -u apache trac-admin /srv/web/trac/projects/$projectname permission add authenticated WIKI_CREATE TICKET_CREATE TICKET_MODIFY WIKI_MODIFY
+sudo -u apache trac-admin /srv/web/trac/projects/$projectname permission remove anonymous WIKI_CREATE TICKET_CREATE TICKET_MODIFY WIKI_MODIFY
+sudo -u apache chown -R apache.apache /srv/web/trac/projects/$projectname
+sudo -u apache sed -i "s,base_url.*,base_url = https://fedorahosted.org/$projectname/," /srv/web/trac/projects/$projectname/conf/trac.ini
--
1.5.5.6
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All I really want for Christmas is Santa's list of Naughty Girls.
14 years, 10 months
[PATCH RFC] hosted: Add mailing lists to new project template
by Todd Zullinger
---
This patch is for the fedora-web repo, but I wanted to get
opinions on whether it was desirable or not. In looking at the
documentation for creating a new hosted project, I wonder whether it
is obvious to users that they can get a mailing list(s) and if it
would make things simpler if this were part of the new project
request, rather than having them file another ticket?
fedorahosted.org/data/content/new.html | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fedorahosted.org/data/content/new.html b/fedorahosted.org/data/content/new.html
index b5da8aa..54549eb 100644
--- a/fedorahosted.org/data/content/new.html
+++ b/fedorahosted.org/data/content/new.html
@@ -29,6 +29,8 @@ Importing from another SCM? If yes, which?
Project admin Fedora Account System account name:
-Trac Instance? (Yes/No)</pre>
+Trac Instance? (Yes/No)
+
+Mailing list(s)? If yes, list name(s) (e.g. foo-commits, foo-devel)?</pre>
</body>
</html>
--
1.6.3.2
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fleas can be taught nearly anything that a Congressman can.
-- Mark Twain
14 years, 10 months
Packagedb 0.3.x branch closed; 0.4.x open
by Toshio Kuratomi
Hi,
I've branched 0.4.x as the new stable development branch of the
packagedb. If you have bugfixes you should commit them there. If you
have features that do not remove or change the API incompatibly (ie,
removing URLs served or changing the parameters that the URLs take) you
may commit them to 0.4.x if you want.
If you have API changing features to add, please use the
fedora-packagedb-devel branch for that. This will branch for 0.5.x
sometime in the Fall/Winter.
Please do not use the 0.3.x branch. We won't be attempting to pull from
it anymore.
Thanks!
-Toshio
14 years, 10 months
Re: fedora-git-commit-mail-hook: Fix command for finding previous tag
by Todd Zullinger
I wrote:
> configs/system/fedora-git-commit-mail-hook | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> New commits:
> commit 226e06441f2fab7c7c52609834e86c236910e963
> Author: Todd Zullinger <tmz(a)pobox.com>
> Date: Sun Jun 21 03:34:20 2009 +0000
>
> fedora-git-commit-mail-hook: Fix command for finding previous tag
>
> The spacewalk maintainers reported problems when pushing tags[1]. The
> root of the problem appears to be in determining the previous tag,
> which used 'git describe' piped to sed. The sed call is better
> replaced with the --abbrev=0 option to 'git describe' and should
> correct the problems noted by the spacewalk maintainers.
>
> This fix was made to the upstream update hook in c47e6a4[2], and was
> required because the format of git describe changed.
>
> It is worth noting that the upstream update hook has been completely
> re-worked. Email notification has been removed from the update
> hook[3] and implemented in the post-receive hook[4].
I think we may want to look at converting from our use of the update
hook to the post-receive hook for sending commit notifications.
Upstream moved the mail notification bits from the update hook to a
new post-receive hook only a few weeks after Jeremy added the initial
fedora-git-commit-mail-hook. So what we're running now isn't
something which will receive any attention or bug fixes from upstream,
unfortunately. The reasoning for upstream moving mail notification is
stated in the the commit message for 46d409d:
The update hook's only job is to decide is a particular update
is allowed or not. It was not the right place to send out
update notification e-mails from to begin with, as the final
stage of updating refs can fail after this hook runs.
> [1] https://fedorahosted.org/fedora-infrastructure/ticket/1362
> [2] http://git.kernel.org/?p=git/git.git;a=commitdiff;h=c47e6a4
> [3] http://git.kernel.org/?p=git/git.git;a=commitdiff;h=46d409d
> [4] http://git.kernel.org/?p=git/git.git;a=commitdiff;h=4557e0d
>
> diff --git a/configs/system/fedora-git-commit-mail-hook b/configs/system/fedora-git-commit-mail-hook
> index 85359ca..e80a461 100644
> --- a/configs/system/fedora-git-commit-mail-hook
> +++ b/configs/system/fedora-git-commit-mail-hook
> @@ -82,7 +82,7 @@ then
> git cat-file tag $3 | sed -n '5,$p'
> echo
> fi
> - prev=$(git describe "$3^" | sed 's/-g.*//')
> + prev=$(git describe --abbrev=0 "$3^")
> # the first tag in a repo will yield no $prev
> if [ -z "$prev" ]; then
> echo "Changes since the dawn of time:"
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The man who is a pessimist before forty-eight knows too much; the man
who is an optimist after forty-eight knows too little.
-- Mark Twain
14 years, 10 months
New to the group
by Chris Krough
Hello everyone,
I am new to the group and would like to introduce myself.
I'm employed as a systems engineer (admin/developer) in the NOC of a
large hosting provider. Most of our infrastructure systems run RHEL
and various open source and/or in-house applications for supporting
and monitoring a large network. My coding skills are probably
consistent with those of a long time systems admin and linux geek, but
are not near "OS Developer" levels. When given the choice I code in
PHP or Perl, and a number of the applications I work with at the
moment are written in Ruby and Python, so I can find my way around in
them as well. I've enjoyed lurking and helping in IRC and would like
to get a bit more involved in the project. By joining the project I am
hoping to make some worthwhile contributions and possibly get some
exposure to different systems and software practices.
Thanks!
Chris
ckrough in IRC
--
Chris Krough
14 years, 10 months
Travelling
by Toshio Kuratomi
I'm going to be going to Brazil for FISL and a FUDCon this week. I'm
not sure what my Internet situation is going to be but if anything comes
up send me a message and I'll work on it once I get the message.
-Toshio
14 years, 10 months