Giter VIP home page Giter VIP logo

release-tools's Introduction

Gluster Release Tools

This repository is a collection of tools/scripts used by the GlusterFS release managers to do GlusterFS releases.

Prerequisite

Bugzilla package needs to be installed on the machine where the script will be run.

Scripts

  • close-bugs.sh This script is used to close bugs after a release. Run it as,

          ./close-bugs.sh <file-with-bugs-to-be-closed> <version-string-for-current-release> <url-to-mailing-list-announcement>
    
  • release_notes.sh This script is used to generate the release notes for a release. Run it as,

          ./release_notes.sh <previous version released> <current version to be released> <path to glusterfs repository>
    

release-tools's People

Contributors

harigowtham avatar kshlm avatar nixpanic avatar raghavendrabhat avatar shyamsundarr avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

release-tools's Issues

check-bugs.py errors out on commit cdcd3dc96b412967ba68a56aa2607d86365fbfe6

For some reason (needs investigation) check-bugs.py fails to generate a complete report. There is an error that causes it to abort with the following stack trace:

Traceback (most recent call last):
  File "./check-bugs.py", line 393, in <module>
    bs.verifyState()
  File "./check-bugs.py", line 250, in verifyState
    changeStatus = change.getExpectedBugStatus()
  File "./check-bugs.py", line 186, in getExpectedBugStatus
    if self.isForQA():
  File "./check-bugs.py", line 164, in isForQA
    if not self.resolveTag():
  File "./check-bugs.py", line 160, in resolveTag
    self.tag = self.repo.findTag(self.commit)
  File "./check-bugs.py", line 124, in findTag
    lines = subprocess.check_output(cmd, shell=True)
  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'git describe --exact-match cdcd3dc96b412967ba68a56aa2607d86365fbfe6 2> /dev/null' returned non-zero exit status 128

There is no tag at commit cdcd3dc96b412967ba68a56aa2607d86365fbfe6, so the most recent tag that contains this commit should be found and used for further reporting.

check-bugs.py fails with a stacktrace

Traceback (most recent call last):
  File "./check-bugs.py", line 352, in <module>
    bs.verifyState()
  File "./check-bugs.py", line 211, in verifyState
    changeStatus = change.getExpectedBugStatus()
  File "./check-bugs.py", line 147, in getExpectedBugStatus
    if self.isForQA():
  File "./check-bugs.py", line 130, in isForQA
    if not self.resolveTag():
  File "./check-bugs.py", line 121, in resolveTag
    if not self.resolveCommit():
  File "./check-bugs.py", line 117, in resolveCommit
    self.commit = self.repo.findCommit(self.created, self.branch, self.changeid)
  File "./check-bugs.py", line 57, in findCommit
    commit = subprocess.check_output(cmd, shell=True)
  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'git log --format=raw --after='2015-04-08 09:07:36.907000000' origin/master | grep -E -e '^commit [[:alnum:]]+$' -e '^[[:space:]]*Change-Id:' | grep -B1 '^[[:space:]]*Change-Id: I2b6503ad9333f445ebdcd9fa660da20b861b985f$'' returned non-zero exit status 1

The executed command does not return any commits. A search in Gerrit for this Change-Id results in one change: http://review.gluster.org/10158

I'm not yet sure what the problem is...

check-bugs should check for closed bugs with open gerrit patches

The ipv6 bug was closed during a mass close, but it was still under active development and several patches are being reviewed. I suspect that a bug should not be closed as long as a patch submission is open, and should not be closed unless patches have been accepted and applied, or all patches have been abandoned (and then I suspect the bug should only be declared as wont-fix to be closed).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.