Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some additions to .hgignore #56550

Closed
sandrotosi opened this issue Jun 15, 2011 · 8 comments
Closed

Some additions to .hgignore #56550

sandrotosi opened this issue Jun 15, 2011 · 8 comments
Assignees
Labels
type-bug An unexpected behavior, bug, or error

Comments

@sandrotosi
Copy link
Contributor

BPO 12341
Nosy @brettcannon, @ezio-melotti, @merwok, @voidspace, @sandrotosi
Files
  • hgignore_additions-default.patch
  • hgignore_additions-default-v2.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/sandrotosi'
    closed_at = <Date 2011-06-25.15:39:59.042>
    created_at = <Date 2011-06-15.16:42:16.703>
    labels = ['type-bug']
    title = 'Some additions to .hgignore'
    updated_at = <Date 2011-06-25.17:31:11.720>
    user = 'https://github.com/sandrotosi'

    bugs.python.org fields:

    activity = <Date 2011-06-25.17:31:11.720>
    actor = 'python-dev'
    assignee = 'sandro.tosi'
    closed = True
    closed_date = <Date 2011-06-25.15:39:59.042>
    closer = 'ezio.melotti'
    components = ['None']
    creation = <Date 2011-06-15.16:42:16.703>
    creator = 'sandro.tosi'
    dependencies = []
    files = ['22371', '22378']
    hgrepos = []
    issue_num = 12341
    keywords = ['patch']
    message_count = 8.0
    messages = ['138386', '138435', '138456', '139034', '139087', '139088', '139089', '139105']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ezio.melotti', 'eric.araujo', 'michael.foord', 'sandro.tosi', 'python-dev']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12341'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    @sandrotosi
    Copy link
    Contributor Author

    following http://docs.python.org/devguide/coverage.html doc you'll end
    up with several "new" files/dirs in your checkout:

    • .coverage, used by coveragepy to save its info
    • coverage/ , the symlink to coveragepy/coverage
    • htmlcov/ , the dir where the coverage HTML pages are written

    I think they should be added to .hgignore so that hg st won't show them, and the attached patch just does it. It's meant for 'default' but should there be no problem to backport it to previous branches.

    @sandrotosi sandrotosi self-assigned this Jun 15, 2011
    @sandrotosi sandrotosi added the type-bug An unexpected behavior, bug, or error label Jun 15, 2011
    @merwok
    Copy link
    Member

    merwok commented Jun 16, 2011

    See also bpo-12255.

    @sandrotosi
    Copy link
    Contributor Author

    Awesome, in a 3 line patch I managed to add an error... nice :)

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jun 25, 2011

    New changeset eaaa073a9a42 by Ezio Melotti in branch '3.2':
    bpo-12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
    http://hg.python.org/cpython/rev/eaaa073a9a42

    @merwok
    Copy link
    Member

    merwok commented Jun 25, 2011

    Please backport.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jun 25, 2011

    New changeset ef306bd1d122 by Ezio Melotti in branch 'default':
    bpo-12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
    http://hg.python.org/cpython/rev/ef306bd1d122

    @ezio-melotti
    Copy link
    Member

    Fixed during the EuroPython sprint, thanks for the patch!

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jun 25, 2011

    New changeset ee9eb4e05180 by Ezio Melotti in branch '2.7':
    bpo-12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
    http://hg.python.org/cpython/rev/ee9eb4e05180

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants