Introduction to bts-link

9
02/05/09 Introduction to bts-link HELIOS WP3 kick-off Olivier Berger <[email protected]> Presentation © Olivier Berger & IT SudParis, under CC By, SA license

description

 

Transcript of Introduction to bts-link

Page 1: Introduction to bts-link

02/05/09

Introduction to bts-link

HELIOS WP3 kick-off

Olivier Berger<[email protected]>

Presentation © Olivier Berger & IT SudParis, under CC By, SA license

Page 2: Introduction to bts-link

page 2 Olivier Berger

Reference sheet

bts­link (http://bts-link.alioth.debian.org/)Written initially by Pierre Habouzit for the Debian

projectRunning twice a week (more or less)Working stand-alone but with a copy of Debian

bugtracker's databaseSend commands to Debian's bugtracker (debbugs)Commands results are notified to Debian

maintainers and package susbcribersLicence : BSDLanguage : PythonRepository : git @ git.debian.org

Page 3: Introduction to bts-link

Olivier Berger

Rationale

Watch links between bugs reported in Debian and bugs reported in “upstream” projects

Links between bugs were already created manually and stored in debbugs (tags forwarded­to)

Supported remote bugtrackers :• bugzilla (and issuezilla);• gnats;• launchpad;• mantis;• savane;• sourceforge trackers;• trac;• gforge.

Page 4: Introduction to bts-link

Olivier Berger

Forwarded-to links

Attributes forwarded-to already set on existing Debian bugs :#4372 forwarded­to http://buzilla1.com/show_bug?id=123

#5827 forwarded­to http://buzilla2.com/show_bug?id=457

#2310 forwarded­to http://trac1.org/ticket/1846

#1846 forwarded­to http://myproj.com/mantis/view.php?id=123

debbugs@Debian

Bugzilla1 Bugzilla2 Trac1 Mantis1 ...

123 457 1231846

4372 5827 18462310 ...

Page 5: Introduction to bts-link

Olivier Berger

Bugs lifecycle

Bug status “categories” supported in remote bugtrackers :• OPEN (any non-closed states, actually)• CLOSED : then, maybe analyse the “resolution”

- If WONTFIX : add also a tag + wontfix

- If DUPLICATE : fetch duplicate bug and iterate status comparison (at least for bugzilla for the moment)

LOCAL:FoundFORWARDED:OPEN

LOCAL:FoundFORWARDED:CLOSED

tags : fixed-upstream

Closed

tag + fixed­upstream

Reopened

tag ­ fixed­upstream

Page 6: Introduction to bts-link

Olivier Berger

Commands (email) sent to debbugs

From:  bts­link­[email protected]

To:  [email protected]

Cc:   linux­[email protected]

Subject: [bts­link] source package linux­2.6

# bts­link upstream status pull for source package linux­2.6

user bts­link­[email protected]

# remote status report for #497931

#  * http://bugzilla.kernel.org/show_bug.cgi?id=10487

#  * remote status changed: NEW ­> RESOLVED

#  * remote resolution changed: (?) ­> CODE­FIX

#  * closed upstream

tags 497931 + fixed­upstream

usertags 497931 ­ status­NEW

usertags 497931 + status­RESOLVED resolution­CODE­FIX

thanks

Page 7: Introduction to bts-link

Olivier Berger

Debbugs response (email) : notification

From:  Debian Bug Tracking System <[email protected]>

To:  bts­link­[email protected]

Cc:  Debian Kernel Team <debian­[email protected]>

Subject: Processed: [bts­link] source package linux­2.6

Processing commands for [email protected]:

...

> # remote status report for #497931

> #  * http://bugzilla.kernel.org/show_bug.cgi?id=10487

> #  * remote status changed: NEW ­> RESOLVED

...

> tags 497931 + fixed­upstream

Bug#497931: forcedeth: don't work after resume

There were no tags set.

Tags added: fixed­upstream

Page 8: Introduction to bts-link

Olivier Berger

Summary

No discovery of bugs linked together (need already set URL as forwarded-to bug attribute)

No automatic bug status change in debbugsOnly tags bugsSend notitifications to maintainers and people

subscribed to the packageUp to the maintainer to close bugs accordingly, apply

fixes, etc.

Contribution from Helios through patches sent (public git tree)... many thanks to Sandro Tosi ;-)

May be extended/inspiring to address Debian + others

Page 9: Introduction to bts-link

page 9 Olivier Berger

Annex : Context of this presentation

HELIOS project (http://helios-platform.org/)• Project French R&D cluster System@tic of Paris-Region area

(FLOSS special interest group)• 2 years project (start date : 2008/09/01)• Academia + Industry :

- Alcatel-Lucent (industry)

- Artenum (industry, SME)

- Institut TELECOM / TELECOM & Management SudParis (academia)

- Kalis (industry, SME)

- Mandriva (industry, SME)

- Thales (project leader – industry)

• Application Lifecycle Management with Open Source tools