bzr should not try to guess username but require setting it with whoami
Bug #549310 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Wishlist
|
Parth Malwankar |
Bug Description
I see too many people committing with a bad 'First Last <user@hostname>' whoami. bzr should probably warn if the whoami domain is simply a hostname.
Related branches
lp:~parthm/bzr/549310-mandatory-whoami
- Martin Pool: Approve
- Andrew Bennetts: Needs Fixing
- bzr-core: Pending requested
-
Diff: 316 lines (+98/-83)11 files modifiedNEWS (+5/-0)
bzrlib/config.py (+9/-80)
bzrlib/errors.py (+7/-0)
bzrlib/lockdir.py (+2/-2)
bzrlib/osutils.py (+13/-0)
bzrlib/tests/__init__.py (+1/-1)
bzrlib/tests/blackbox/test_commit.py (+12/-0)
bzrlib/tests/blackbox/test_init.py (+14/-0)
bzrlib/tests/blackbox/test_shared_repository.py (+15/-0)
bzrlib/tests/blackbox/test_whoami.py (+9/-0)
bzrlib/tests/test_osutils.py (+11/-0)
Changed in bzr: | |
status: | Confirmed → In Progress |
assignee: | nobody → Parth Malwankar (parthm) |
summary: |
- Should warn if default whoami is insane + bzr should not try to guess username but require setting it with whoami |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | none → 2.2b3 |
To post a comment you must log in.
Sounds like a good idea since a warning will not block anyone and help people that want to share their code realize that email maybe the only way to reach them.