[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
% bzr init; bzr add ... % bzr commit -m 'Initial import.' bzr: ERROR: Unable to determine your name. I believe this means we have regressed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
2.4.0-0ubuntu2~11.IS.8.04 from jelmer, if that helps get the conversation going ** Changed in: bzr Status: Fix Released = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
It is still possible to get this error, although in most cases it should be able to automatically determine your user id. Do you have a valid /etc/mailname, and does the current user have an entry in the passwd database? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
This was inside debian-installer, no mailer installed on the box. So it does seem to be a different use-case than one would get from the original bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Changed in: bzr Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
The case of lacking an /etc/mailname is https://bugs.launchpad.net/bzr/+bug/884502 Note that you don't need to have an actual mailer, just a mailname that contains one line giving the mail domain of the box. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
This bug was fixed in the package bzr - 2.3.4-0ubuntu1 --- bzr (2.3.4-0ubuntu1) natty-proposed; urgency=low * New upstream release. + Fix bzr version number in deprecation warnings. LP: #794960 + Prevent write attemps on remote branch during bzr up. LP: #786980 + Fix conflict handling when two trees involved in a merge have different root ids. LP: #805809 bzr (2.3.3-0ubuntu1) natty-proposed; urgency=low * New upstream release. + Fixes deprecation warning on newer versions of Python. LP: #760435 + Stops 'bzr push' from copying entire repository if a .bzr directory is present without a branch. LP: #465517 + Fixes undefined local variable error when waiting for lock. LP: #733136 + Fixes lock contention issues pushing to a bound branch. LP: #733350 + Transfers less data creating a new stacked branch. LP: #737234 + Several fixes to the test suite, making it more robust. LP: #654733, LP: #751824 + 'bzr merge --pull --preview' actually shows a preview rather than actually merging. LP: #760152 + bzr smart server now supports UTF-8 user names. LP: #659763 + user identity can now be set based on username and /etc/mailname, not requiring it to be set manually. LP: #616878 + stacking is now fully transitive. LP: #715000 + makes in-terminal crash report of plugins much shorter. LP: #716389 -- Jelmer Vernooij jel...@debian.org Thu, 14 Jul 2011 21:12:58 +0200 ** Changed in: bzr (Ubuntu Natty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
Verified by running the bzr testsuite from the package in a clean natty install. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
Accepted bzr into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: bzr (Ubuntu Natty) Status: In Progress = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Branch linked: lp:~ubuntu-branches/ubuntu/natty/bzr/natty-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Changed in: bzr (Ubuntu Natty) Assignee: (unassigned) = Jelmer Vernooij (jelmer) ** Changed in: bzr (Ubuntu Natty) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Branch linked: lp:~jelmer/ubuntu/natty/bzr/sru-2.3.3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/616878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Also affects: bzr (Ubuntu Natty) Importance: Undecided Status: New ** Changed in: bzr (Ubuntu Natty) Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Changed in: bzr (Ubuntu) Status: In Progress = Fix Released ** Changed in: bzr (Ubuntu) Milestone: maverick-updates = None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Branch linked: lp:debian/experimental/bzr -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr (Ubuntu) Status: Confirmed = In Progress ** Changed in: bzr Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity (should look at /etc/mailname)
** Summary changed: - bzr commit error because of no identity + bzr commit error because of no identity (should look at /etc/mailname) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity (should look at /etc/mailname) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Martin, your branch for this has landed, should we be considering it Fix Released instead of In Progress? Or did you have more you needed to do. Maybe that should be split out as another bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr/2.3 Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr/2.3 Status: New = In Progress ** Changed in: bzr/2.3 Assignee: (unassigned) = Martin Pool (mbp) ** Changed in: bzr (Ubuntu) Milestone: None = maverick-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Also affects: bzr/2.3 Importance: Undecided Status: New ** Changed in: bzr/2.3 Milestone: None = 2.3.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr Status: Confirmed = In Progress ** Changed in: bzr Assignee: canonical-bazaar (canonical-bazaar) = Martin Pool (mbp) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Branch linked: lp:~mbp/bzr/whoami -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr Assignee: (unassigned) = canonical-bazaar (canonical-bazaar) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr Assignee: Registry Administrators (registry) = Curtis Hovey (sinzui) ** Changed in: bzr Assignee: Curtis Hovey (sinzui) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
After discussing with lamont, we think trusting mailname is fine (by default).. provided that it won't require us to set an option to enable that behaivor. Can this be in v2.3? Thanks! -Charlie -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr Assignee: (unassigned) = bazaar-core-staff (bazaar-core-staff) ** Changed in: bzr Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Tags added: whoami -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Changed in: bzr (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
On 26 November 2010 07:57, Max Bowsher m...@f2s.com wrote: Could we not just add a branch.conf boolean setting (and corresponding switches to 'bzr init', 'bzr reconfigure') which reverts to the previous behaviour? So, it would default to warning or failing, to help people who don't realize they ought to set it? We could, but that would still fail one of the Canonical IS wishes that this not require per-machine setup. -- Martin -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/616878 Title: bzr commit error because of no identity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
I think considering the machine's mailname is perhaps not necessary. As I see it, there are two significant divisions of use-cases here: 1) The ones that bug 549310 was filed about, where users are committing revisions to be shared with the world, and the email address really really ought to be a valid configured email address. 2) The ones who are managing an /etc-in-bzr, where local-unix-user @machine-hostname is probably the exact most useful thing that we could record anyway. Could we not just add a branch.conf boolean setting (and corresponding switches to 'bzr init', 'bzr reconfigure') which reverts to the previous behaviour? -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Martin: For this and for Bug #647475 I think even filling it full of gub...@example.com would be fine, as etckeeper/manual-etc-in-bzr trees do not typically get published anywhere for obvious reasons. We're not actually concerned with the value of this field, as we have ignored it for a long time and used changelog-style commit messages to contain the commiter info along with other pieces of information we care about. That is partly why this came as such a shock to us. Trusting the mailname, perhaps with an ignorable warning (maybe recommending an uncommit if they want to go back and fix the committer address?), seems to have no drawbacks for this use case. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
I asked before if trusting the mailname would be a good solution for this. What do you think, Nick? -- Martin -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Bug #647475 overlaps heavily with this bug. It concerns the fact that this problem breaks etckeeper rather terribly, especially in the update- manager where it's not made as clear what's actually going wrong. It's likely worth marking a duplicate of this one. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
James Troup пишет: John A Meinel j...@arbash-meinel.com writes: (A per branch/checkout/whatever way to disable this error would be sufficient to downgrade this from a blocker on us upgrading to a simple annoyance.) bzr whoami --branch Is a per-branch way to disable this error... I meant a way that works across all users; something that is stored in the .bzr and stops this non-issue-for-us from being reported as a fatal error for any user on the machine who uses the branch. `bzr whoami --branch` sets the identity for *all* users. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Would a switch like --guess-committer or --committer=ARG for 'bzr ci' satisfy this use case? -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
The main problem with inferring the email address seems to be is that checked both the email domain and the hostname. Perhaps it would be reasonable to assume that if the machine's mail domain is set, it is correct. So we might get auto commits from j...@home.example.com but not from j...@home. Then sysadmins just need to make sure /etc/mailname is set, which it probably is already. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
John A Meinel j...@arbash-meinel.com writes: (A per branch/checkout/whatever way to disable this error would be sufficient to downgrade this from a blocker on us upgrading to a simple annoyance.) bzr whoami --branch Is a per-branch way to disable this error... I meant a way that works across all users; something that is stored in the .bzr and stops this non-issue-for-us from being reported as a fatal error for any user on the machine who uses the branch. -- James -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
** Tags added: affects-canonical -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
I think downgrading it to a warning would be ok. I've noticed other systems do the same thing. That said, if you are upgrading 400 machines to a newer version of bzr, can't that same mechanism be used to call 'bzr whoami' one time on each of those machines? (It doesn't have to happen on every commit, just one global setup.) Certainly you're running 'bzr commit' on all of those machines as well (or you wouldn't have had the problem in the first place) I can agree that change is disruptive, but having appropriate defaults for the common case is also useful. ** Changed in: bzr Importance: Undecided = Medium ** Changed in: bzr Status: New = Confirmed -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
Jelmer Vernooij 616...@bugs.launchpad.net writes: On Thu, 2010-08-12 at 16:07 +, James Troup wrote: Our use case is /etc in bzr. We don't care at all about having valid email addresses in the bzr history for these branches. This change is really problematic for us. We're either going to have to patch it out or fix hundreds of machines (either by running bzr whoami or setting BZR_EMAIL with some dummy value). I agree we should keep supporting that use case. Would having bzr only warn about no username being set be a problem for you? If it warns once, that's fine. If it warns on every invocation of bzr, that's no better at all. -- James -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
John A Meinel j...@arbash-meinel.com writes: I think downgrading it to a warning would be ok. I've noticed other systems do the same thing. That said, if you are upgrading 400 machines to a newer version of bzr, can't that same mechanism be used to call 'bzr whoami' one time on each of those machines? Sure except that we run bzr as many different users. And yes, we could in theory, force a 'bzr whoami' run for all of those users across 400 machines. Or, you know, we could just give up and switch to some other VCS system which doesn't annoy us so much because I really don't want to do that :-P (A per branch/checkout/whatever way to disable this error would be sufficient to downgrade this from a blocker on us upgrading to a simple annoyance.) -- James -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Troup wrote: John A Meinel j...@arbash-meinel.com writes: I think downgrading it to a warning would be ok. I've noticed other systems do the same thing. That said, if you are upgrading 400 machines to a newer version of bzr, can't that same mechanism be used to call 'bzr whoami' one time on each of those machines? Sure except that we run bzr as many different users. And yes, we could in theory, force a 'bzr whoami' run for all of those users across 400 machines. Or, you know, we could just give up and switch to some other VCS system which doesn't annoy us so much because I really don't want to do that :-P (A per branch/checkout/whatever way to disable this error would be sufficient to downgrade this from a blocker on us upgrading to a simple annoyance.) bzr whoami --branch Is a per-branch way to disable this error... John =:- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxl2SEACgkQJdeBCYSNAAO4bwCgka4/VoXMPtYvGpDgDE6R3+uP 8G8AoNPYZrzvwxYfwge6NvoiU2Ffcnyd =gjFm -END PGP SIGNATURE- -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Some users ended up doing commits with a committer email / hostname set that was invalid or private. See bug 549310. Other than running bzr whoami, it should be possible to prevent this error by setting the EMAIL or BZR_EMAIL environment variables. bzr doesn't really care about whether those values are set to a valid email address, just that they are set. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Warning the user when they do a commit while the username was guessed seems like a good idea, in the same spirit as the --strict warning/errors for bzr push. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Our use case is /etc in bzr. We don't care at all about having valid email addresses in the bzr history for these branches. This change is really problematic for us. We're either going to have to patch it out or fix hundreds of machines (either by running bzr whoami or setting BZR_EMAIL with some dummy value). I understand the rationale somewhat for the more traditional use cases of bzr (distributed revision control for source code), but we surely can't be the only users who don't care about the validity of email addresses and find this an unwelcome change. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
On Thu, 2010-08-12 at 16:07 +, James Troup wrote: Our use case is /etc in bzr. We don't care at all about having valid email addresses in the bzr history for these branches. This change is really problematic for us. We're either going to have to patch it out or fix hundreds of machines (either by running bzr whoami or setting BZR_EMAIL with some dummy value). I agree we should keep supporting that use case. Would having bzr only warn about no username being set be a problem for you? Cheers, Jelmer -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 616878] Re: bzr commit error because of no identity
Maybe a option (bzr ci --guess-user|--guess-whoami) can be provided. I would prefer a new option to a warning as it would allow special cases to be handled explicitly and in the normal case the user won't need to commit fail uncommit - whoami - commit. Instead commit fail whoami - commit sequence would remain. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 616878] Re: bzr commit error because of no identity
On Thu, 2010-08-12 at 16:59 +, Parth Malwankar wrote: Maybe a option (bzr ci --guess-user|--guess-whoami) can be provided. I would prefer a new option to a warning as it would allow special cases to be handled explicitly and in the normal case the user won't need to commit fail uncommit - whoami - commit. Instead commit fail whoami - commit sequence would remain. That means users with a large number of installations (such as elmo) would still have to run bzr whoami in one way or another on all their machines. -- bzr commit error because of no identity https://bugs.launchpad.net/bugs/616878 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs