[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2017-11-08 Thread Jelmer Vernooij
** Tags added: check-for-breezy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/322327 Title: Integrated permissions/ownership diff output for etckeeper/bzr To manage notifications about this bug go

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2012-01-04 Thread Jelmer Vernooij
The new feature flags feature might be useful for this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/322327 Title: Integrated permissions/ownership diff output for etckeeper/bzr To manage notifica

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2010-06-24 Thread Robert Collins
** Changed in: bzr (Ubuntu) Status: New => Confirmed ** Changed in: bzr (Ubuntu) Status: Confirmed => Triaged -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/bugs/322327 You received this bug notification because you are a member of Ubun

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2010-03-10 Thread Daniel Hahler
** Changed in: etckeeper (Ubuntu) Status: Confirmed => Triaged -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/bugs/322327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bug

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-24 Thread Thierry Carrez
Don't have time to work on it right now, so if anyone is interested... ** Changed in: bzr Status: In Progress => Confirmed ** Changed in: bzr Assignee: Thierry Carrez (ttx) => (unassigned) -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/b

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-15 Thread Robert Collins
** Changed in: bzr Importance: Undecided => Wishlist ** Changed in: bzr Status: New => In Progress ** Changed in: bzr Assignee: (unassigned) => Thierry Carrez (ttx) -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/bugs/322327 You receiv

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-15 Thread Robert Collins
Something like that. It seems to me that you may need two sets of hooks - core and UI ones. It may even be that all the things you are hooking are UI level. -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/bugs/322327 You received this bug notification

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-10 Thread Thierry Carrez
Thanks Robert for your advice. You are right it makes more sense to change iter_changes in all cases, since the idea is to cover all cases. Note that my idea was to use the hook to add files that happen just to have their metadata changed (so that they show as "changed" for all purposes), but als

Re: [Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-04 Thread Robert Collins
I would make the iter_changes modifier a Tree hook. Should it modify iter_changes for things other than diff? e.g. status (I assume yes)), commit? revert? I'd do Tree.hooks 'iter_changes' as the hook point. parameter list of old_tree, new_tree, changes, [rest of iter_changes normal parameters]. Th

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-04 Thread Jelmer Vernooij
** Also affects: bzr Importance: Undecided Status: New -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/bugs/322327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mai

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-06-04 Thread Thierry Carrez
I managed to build a PoC integrated diff using two hooks in bzr: * First one (called showdiff_modifychanges in the patch) allows to modify the changes iterator just before it's used in diff.py:_show_diff, so that you can add the files that just have a metadata difference * Second one (called show

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-04-16 Thread Thierry Carrez
Hmm... hooking at InterTree.iter_changes fails to catch all cases unfortunately (for example bzr diffing between current state and last revision uses InterDirStateTree instead). We probably need to hook at a higher level, like merging entries coming from extra iterators (that our hook would provide

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-03-19 Thread Thierry Carrez
** Changed in: etckeeper (Ubuntu) Status: New => Confirmed -- Integrated permissions/ownership diff output for etckeeper/bzr https://bugs.launchpad.net/bugs/322327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 322327] Re: Integrated permissions/ownership diff output for etckeeper/bzr

2009-01-28 Thread Thierry Carrez
I think we need to hook in two places: - InterTree.iter_changes (tree.py:928) We need to yield file_ids that happen to just have a permissions/ownership change. A hook allowing to arbitrarily yield some entries (given their file_id) would definitely help. - DiffTree._show_diff (diff.py:867) We