Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #29553

Closed (moved)
(moved)
Open
Created Feb 21, 2019 by Nick Mathewson@nickm🍬

pre-commit hook gives a warning when there are no changes files, when source files aren't where expected, and doesn't exit.

Problem 1:

Traceback (most recent call last):
  File "scripts/maint/lintChanges.py", line 111, in <module>
    if lintfile(fname):
  File "scripts/maint/lintChanges.py", line 53, in lintfile
    with open(fname) as f:
IOError: [Errno 2] No such file or directory: './changes/*'
On branch release-0.3.5
Your branch is up to date with 'origin/release-0.3.5'.

Problem 2: The script lets me commit anyway.

Problem 3: It doesn't run checkSpace.pl on the right locations for our pre-0.3.5 source layout.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking