bzr-eclipse does not integrate with bzr whoami command

Bug #1155024 reported by Alexander Taler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
Fix Released
Low
Piotr Piastucki
Java library for Bazaar
Fix Released
Low
Piotr Piastucki

Bug Description

On the bzr-eclipse preferences page:

  Window -> Preferences
  Team -> Bazaar

the User id/email setting specifies the value set in the Committer field when committing.

However, the Bazaar command-line client uses a different mechanism for specifying this field: bzr whoami.

Ideally bzr-eclipse would store this value in the same location as bzr whoami so that they can work on the same tree with the same results.

Changed in bzr-eclipse:
status: New → Triaged
Revision history for this message
Piotr Piastucki (piastucki) wrote :

Handling whoami seems to be a bit tricky as there might be multiple branches used in a single workspace.
Some ideas:
1) It is quite convenient to have a separate setting on a per-workspace level that is unrelated to stored bzr settings as it is possible to use different identity for each workspace. I do not think we should change global whoami setting from bzr-eclipse.
2) A new 'whoami' action might be added to Team menu to view/change the settings on a per-branch level
2) id/email field in preference page can be by default populated with global whoami setting. If nothing set, bzr-eclipse should fall back to system username. Additionally, there can be a checkbox to disable the field. When it is disabled Bazaar will decide what to use based on whoami settings in particular branches/projects or global whoami settings.

Changed in bzr-eclipse:
milestone: none → 1.3
Changed in bzr-java-lib:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Piotr Piastucki (piastucki)
milestone: none → 1.3
Changed in bzr-eclipse:
importance: Undecided → Low
Changed in bzr-java-lib:
status: Triaged → Fix Committed
Changed in bzr-eclipse:
status: Triaged → In Progress
assignee: nobody → Piotr Piastucki (piastucki)
Revision history for this message
Piotr Piastucki (piastucki) wrote :

Fixed. By default "User id/email" field will be populate with the value returned by bzr whoami unless the value cannot be retrieved. In this case the code will fallback to system user name as before.

Changed in bzr-eclipse:
status: In Progress → Fix Committed
Changed in bzr-java-lib:
status: Fix Committed → Fix Released
Changed in bzr-eclipse:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.