[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #26984 [Core Tor/Stem]: Tests should not fail due to a missing .gitignore



#26984: Tests should not fail due to a missing .gitignore
-------------------------------+------------------------------
     Reporter:  irl            |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:  debian,packaging
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+------------------------------
 It is very common that VCS-specific files are thrown away when packaging
 for distributions as distributions may not use the same VCS as you.

 The Debian package does not run any tests when building, and while I'm
 only guessing, this is probably due to the requirement that the original
 `.gitignore` is kept around.

 {{{
 Traceback (most recent call last):
   File "run_tests.py", line 36, in <module>
     import test
   File "/home/irl/debian/python-stem/test/__init__.py", line 71, in
 <module>
     with open(os.path.join(STEM_BASE, '.gitignore')) as ignore_file:
 FileNotFoundError: [Errno 2] No such file or directory: '/home/irl/debian
 /python-stem/.gitignore'
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26984>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs