Freeze break request: Add diversity-bot to ircbot.py
by Justin W. Flory
Hi all,
This is my first time submitting a patch to a repo or during a freeze
break - if I missed a step or did something wrong, feel free to correct
me. :) I didn't see a SOP in infra-docs so I just followed the format of
past freeze break requests.
This is a quick patch to add a new bot to ircbot.py for the
#fedora-diversity team. I copied the commopswatch bot and made slight
modifications. But I would appreciate it were reviewed for accuracy in
case I missed something.
Patch is below and also attached to the email.
From 1b182e380e10d978c4daa7f01d859916d5675b78 Mon Sep 17 00:00:00 2001
From: "Justin W. Flory" <git(a)jwf.io>
Date: Thu, 1 Sep 2016 23:07:04 -0400
Subject: [PATCH] Add #fedora-diversity to ircbot.py for notifications
related
to diversity
---
roles/fedmsg/irc/templates/ircbot.py | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/roles/fedmsg/irc/templates/ircbot.py
b/roles/fedmsg/irc/templates/ircbot.py
index 2bb4c03..3f3931b 100644
--- a/roles/fedmsg/irc/templates/ircbot.py
+++ b/roles/fedmsg/irc/templates/ircbot.py
@@ -363,6 +363,27 @@ config = dict(
body=['^((?!(modularity|Modularity)).)*$'],
),
),
+
+ # And #fedora-diversity wanted in too
+ dict(
+ network='chat.freenode.net',
+ port=6667,
+ make_pretty=True,
+ make_terse=True,
+
+ {% if env == 'staging' %}
+ nickname='diversity-bot-s',
+ {% else %}
+ nickname='diversity-bot',
+ {% endif %}
+ channel='fedora-diversity',
+ filters=dict(
+ topic=[
+
'(planet|meetbot\.meeting\.item\.help|meetbot\.meeting|fedocal\.meeting\.new|fedocal\.meeting\.update|fedocal\.meeting\.delete|fedocal\.calendar|fas\.group\.member\.sponsor|pagure\.project\.new|askbot\.post\.flag_offensive)',
+ ],
+ body=['^((?!diversity).)*$'],
+ ),
+ ),
],
### Possible colors are ###
--
2.7.4
--
Cheers,
Justin W. Flory
jflory7(a)gmail.com
7 years, 9 months
[release] pagure: 2.4
by Pierre-Yves Chibon
Good Morning Everyone,
This morning I cut a new release of pagure: 2.4
It had been a while since the last one and I felt we were at a right time for
this. There are more changes coming, some of which will be disruptive so I
wanted to cut a release before them.
Here is the corresponding changelog:
* Wed Aug 31 2016 Pierre-Yves Chibon <pingou(a)pingoured.fr> - 2.4-1
- Update to 2.4
- - [Security] Avoid all html related mimetypes and force the download if any
(CVE-2016-1000037) -- Fixed in 2.3.4 as well
- Redirect the URL to projects <foo>.git to <foo> (Abhishek Goswami)
- Allow creating projects with 40 chars length name on newer pagure instances
- Fix @<user> and #<id> when editing a comment (Eric Barbour)
- Display properly and nicely the ACLs of the API tokens (Lubomír Sedlář)
- Removing html5lib so bleach installation finds what version is best (Tiago M.
Vieira)
- Remove the branchchooser from the repoheader (again) (Ryan Lerch)
- Fix hard-coded urls in the master template
- Made the interaction with the watch button clearer (Ryan Lerch)
- Introduce pagure-ci, a service allowing to integrate pagure with a jenkins
instance (Farhaan Bukhsh and I)
- Accept Close{,s,d} in the same way as Merges and Fixes (Patrick Uiterwijk)
- Avoid showing the 'New PR' button on the overview page is a PR already exists
for this branch, in the main project or a fork (Vivek Anand)
- Fix presenting the readme file and display the readme in the tree page if
there is one in the folder displayed (Ryan Lerch)
- Move the new issue button to be available on every page (AnjaliPardeshi)
- Fix pagure for when an user enters a comment containing #<id> where the id
isn't found in the db
- Make the bootstrap URLs configurable (so that they don't necessarily point to
the Fedora infra) (Farhaan Bukhsh)
- Fix how the web-hook server determine the project and its username
- Replace the login icon with plain text (Ryan Lerch)
- Fix layout in the doc (Farhaan Bukhsh)
- Improve the load_from_disk utility script
- Fix our mardown processor to avoid crashing on #<text> (where we expect #<id>)
- Fix the search for projects with a / in their names
- Fix adding a file to a ticket when running pagure with `local` auth
- Improve the grammar around the allowed prefix in our fake-namespaces (Jason
Tibbitts)
- Implement scanning of attached files for viruses (Patrick Uiterwijk)
- Document how to set-up multiple ssh keys per user (William Moreno Reyes)
- Add display_name and description to groups, and allow editing them
- Add the ability to run the post-receive hook after merging a PR in the UI
- Fix showing the group page even when user management is turned off (Vivek
Anand)
- Make explicit what the separators for tags is (Farhaan Bukhsh)
- Include the word setting with icon (tenstormavi)
- Fix the requirements.txt file (Vivek Anand)
- Cleaned up the topbar a bit (Ryan Lerch)
- Fix location of bottom pagination links on user page (Ryan Lerch)
- Add user's project watch list in index page of the user (Vivek Anand)
- Fix showing the reporter when listing the closed issues (Vivek Anand)
- Fix accessing forks once the main repo has been deleted (Farhaan Bukhsh)
As you can see many changes from many people, thanks to everyone who helped and
worked hard to make this release.
This release has been pushed to staging and will not be pushed to prod before
next week.
Happy hacking,
Pierre
7 years, 9 months
Fedora RelEng Automation
by Adam Miller
Hello all,
I've been doing some work on the Fedora RelEng Automation[0][1]
lately and I've gotten to a point that I have some Ansible playbooks
that I'd like to test but I need to be able to run them somewhere in
the Fedora Infrastructure as they will need to be able to touch
various Release Engineering related systems (at least compose machines
to begin with).
I'd like advisement from the Infrastructure Team on how best to move
forward with this. I'm happy to do the leg work, I just need some
guidance to make sure I'm complying with Infra standards.
Thank you,
-AdamM
[0] - https://pagure.io/releng-automation
[1] - https://fedoraproject.org/wiki/Changes/ReleaseEngineeringAutomationWorkfl...
7 years, 9 months
Mirrormanager doesn't provide F25 x86_64 debuginfo mirror for updates
repository
by Christian Stadelmann
I'm trying to report a bug in a package (gnome-settings-daemon) and it would be useful to have debuginfo for this package. When running `dnf debuginfo-install gnome-settings-daemon`, I'm getting an error that the repomd.xml was not found in metalink. Therefore I manually downloaded the metalink file from https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f2... (URL from /etc/yum.repos.d/fedora-updates.repo file) and had a look at the file.
The file itself just contains this content:
<metalink version="3.0" xmlns="http://www.metalinker.org/" type="dynamic" pubdate="Wed, 31 Aug 2016 21:05:11 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager">
<!--
# repo = updates-released-debug-f25 arch = x86_64 error: invalid repo or arch
# following repositories are available:
# repo=atomic-21&arch=x86_64
# repo=core-2&arch=i386
# repo=core-2&arch=x86_64
… (more repositories listed) …
# repo=updates-testing-source-fc4&arch=source
# repo=updates-testing-source-fc5&arch=source
# repo=updates-testing-source-fc6&arch=source
-->
</metalink>
but the file does not contain a line like
# repo=updates-released-debug-f25&arch=x86_64
but it contains everything else:
different architectures:
# repo=updates-released-debug-f25&arch=aarch64
# repo=updates-released-debug-f25&arch=ppc64
# repo=updates-released-debug-f25&arch=ppc64le
# repo=updates-released-debug-f25&arch=s390x
different repos:
…
# repo=fedora-debug-25&arch=x86_64
…
# repo=updates-released-f25&arch=x86_64
…
# repo=updates-released-source-f25&arch=source
…
# repo=updates-testing-debug-f25&arch=x86_64
…
the repo I'd need is just missing.
I know of https://apps.fedoraproject.org/packages/mirrormanager/ and bugzilla and http://fedorahosted.org/mirrormanager, but those are for the package respectively its distribution through fedora, not for the infrastructure on mirrors.fedoraproject.org. I hope I'm right here.
7 years, 9 months