Bug 478886

Summary: Open Source Red Hat Bugzilla
Product: [Community] Bugzilla Reporter: David Lawrence <dkl>
Component: Bugzilla GeneralAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 4.4CC: agk, carl, emmanuel, fweimer, hellcp, herrold, jfearn, lsmid, marcandre.lureau, mcatanza, mkeir, mkolman, ngompa13, pasik, ptalbert, vdanen
Target Milestone: 5.0-RH13Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.4-rh44 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 23:26:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1308391, 1658042, 1782687, 1819967    
Bug Blocks:    

Description David Lawrence 2009-01-05 20:49:37 UTC
Description of problem:
Some people have requested that Red Hat put up a downloadable tarball or srpm of our current code base so that others may use our changes. We need to sanitize the code to make sure that all sensitive Red Hat information has been removed. These include any database/xmlrpc usernames and passwords, any internal URL's/hostnames, and any other code that outlines any internal processes that we want to keep confidential.

The current Makefile excludes data/params and localconfig from the srpm's/rpm's
so that part is pretty much done.

Once we have the code cleaned up we can upload the srpm to a people.redhat.com site and then create a link to it from index.cgi

Comment 1 David Lawrence 2010-01-15 17:33:48 UTC
Red Hat Bugzilla is now using version 3.4 of the Bugzilla codebase and
therefore this feature will need to be implemented against the new release.
Updating bug version to 3.2.

Comment 2 David Lawrence 2010-08-25 21:44:31 UTC
Red Hat has now upgraded to Bugzilla 3.6 and this bug will now be reassigned to that version. It would be helpful to the Bugzilla Development Team if this bug is verified to still be an issue with the latest version. If it is no longer an issue, then feel free to close, otherwise please comment that it is still a problem and we will try to address the issue as soon as we can.

Thanks
Bugzilla Development Team

Comment 4 Jeff Fearn 🐞 2012-05-30 04:49:44 UTC
As part of the recent Bugzilla 2.4 upgrade the Bugzilla team are cleaning up bugs opened against old versions of Bugzilla. This bug has been flagged as an old bug and will be CLOSED WONTFIX in 7 days time.

If you believe this bug is an issue in the latest Bugzilla version please comment on this bug within 7 days. Doing so will ensure this bug is not closed automatically.

Thanks, the Bugzilla team.

Comment 5 R P Herrold 2012-06-04 14:45:27 UTC
This issue remains viable and unfixed ... a typo in commend 4 perhaps -- 4.2

and needs a re-assign to the 4.2 level as the component

-- Russ herrold

Comment 6 Simon Green 2012-06-19 06:52:05 UTC
This won't be happening. Core code contains Red Hat business rules, especially Bugzilla/Bug.pm. Red Hat provide upstream's Bugzilla code in our repos.

  -- simon

Comment 9 Jason McDonald 2014-08-14 02:40:07 UTC
Another issue that needs to be addressed is the large number of places in the git repo where Red Hat-specific email addresses, groups, and variable names are used.  Some of these are actually obsolete (e.g. the crontab), but those that are still used should probably be config items rather than hard-coded values.

Comment 17 Jeff Fearn 🐞 2016-04-28 05:02:27 UTC
Easy way to vet commit logs:

$ git shortlog -e > git.log

Only 10K lines!

Comment 20 Jeff Fearn 🐞 2016-12-08 23:59:41 UTC
FYI I have worked with sourceware.org to get https://sourceware.org/gerrit/ set-up. It's hosted in our PHX2 DC.

Waiting on the blocking bug to move there.

Comment 24 Neal Gompa 2020-01-04 00:27:47 UTC
Any progress on this? It'd be great to have this up on pagure.io or somewhere...

I know the sourceware gerrit was mentioned in comment #20, but that was before pagure.io existed.

Comment 25 Neal Gompa 2020-01-04 00:28:50 UTC
(Also wow, this bug is over 10 years old now!)

Comment 26 Jeff Fearn 🐞 2020-02-27 07:31:50 UTC
There is currently no timeline for this happening. I am pursing several things to unblock it.

Comment 27 Jeff Fearn 🐞 2020-04-14 04:38:00 UTC
Hi, there are 3 items on the TODO list:

1: There are a few remaining internal items that need to be moved out of the BZ code base.

2: MPL 2.0 needs to be pasted to a lot of files. Bug 1819967.

3: RH specific README needs to be added.

#1 breaks the current deployment so will require some extra attention to make sure we can deploy hot-fixes if required.

#2 is a lot of changes, but nothing functional.

#3 is basically done.

I intend to merge these in the next release or three; the release that contains these changes will be what I make public.

I'll be dropping RHBZ as a single commit on top of the upstream 5.0 branch. It's not optimal, but as explained in the new README it is necessary given the history contents and the lack of resources available to address that.

I'm tossing up between hosting on pagure and github, leaning towards pagure ATM.

Comment 28 Neal Gompa 2020-04-15 00:46:44 UTC
(In reply to Jeff Fearn 🐞 from comment #27)
> Hi, there are 3 items on the TODO list:
> 
> 1: There are a few remaining internal items that need to be moved out of the
> BZ code base.
> 
> 2: MPL 2.0 needs to be pasted to a lot of files. Bug 1819967.
> 
> 3: RH specific README needs to be added.
> 
> #1 breaks the current deployment so will require some extra attention to
> make sure we can deploy hot-fixes if required.
> 
> #2 is a lot of changes, but nothing functional.
> 
> #3 is basically done.
> 
> I intend to merge these in the next release or three; the release that
> contains these changes will be what I make public.
> 
> I'll be dropping RHBZ as a single commit on top of the upstream 5.0 branch.
> It's not optimal, but as explained in the new README it is necessary given
> the history contents and the lack of resources available to address that.
> 
> I'm tossing up between hosting on pagure and github, leaning towards pagure
> ATM.

This sounds great! I would personally prefer to have it hosted on pagure. And Stasiek (who I cc'd to this) would prefer that as well. This would make our lives considerably easier for what we're trying to do in openSUSE.

Comment 29 Jeff Fearn 🐞 2020-04-15 05:59:55 UTC
Created https://pagure.io/group/Red-Hat-Bugzilla where we will be adding our code when it's ready, and perhaps the bz-admin cli tool we use as well.

Comment 30 Neal Gompa 2020-04-24 18:36:17 UTC
(In reply to Jeff Fearn 🐞 from comment #29)
> Created https://pagure.io/group/Red-Hat-Bugzilla where we will be adding our
> code when it's ready, and perhaps the bz-admin cli tool we use as well.

Do you have a timeline on when it will be ready? We'd like to start looking at a deployment for SUSE/openSUSE soon to replace our existing Bugzilla software...

Comment 31 Jeff Fearn 🐞 2020-04-27 02:47:02 UTC
(In reply to Neal Gompa from comment #30)
> (In reply to Jeff Fearn 🐞 from comment #29)
> > Created https://pagure.io/group/Red-Hat-Bugzilla where we will be adding our
> > code when it's ready, and perhaps the bz-admin cli tool we use as well.
> 
> Do you have a timeline on when it will be ready? We'd like to start looking
> at a deployment for SUSE/openSUSE soon to replace our existing Bugzilla
> software...

Hi, I don't have a time line. I have been prioritized to do some Ops work so it comes down to how much time I get to spend on the dev side.

Comment 33 Jeff Fearn 🐞 2020-05-13 23:26:43 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.

The code is now available at https://pagure.io/Red-Hat-Bugzilla/rh-bugzilla

w00t!