New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch Tree Proposal #28
Comments
Very nice. If Udo (maintainer for the FreeBSD port) has changes to his port, I'm ready to commit them in the FreeBSD ports tree. I'm using mutt, myself, so I can always test, too 8-) |
Ideally Gentoo would prefer to be all the way down to where Debian and Suse are in the graph. At the very least we should get rid of the odd bypass. I'm committed to that. |
@grobian Until the rest of us catch up with the window patches, you have your own tree (Gentoo's just on that diagram for show). I remember you considering the ifdef patch "of disputable nature" :-) |
Date formatsHmm... There's a small problem with the date formats.
|
re ifdef: I believe that if other distros take those patches, my personal opinion about them is moot :) re time: I'm part to blame there, but I was hoping conditional date could be turned into an expression like what smart time does |
what smart time does is this:
|
So our choices are:
The Mutt Way is to make things as hard as possible for the user :-) Let's see what the others think... |
Personally, I like to be able to format it exactly the way I want, but it was distilled pain to get there. Can't you allow both and make it configurable at run-time? |
Probably. I'll take a look at the patches. |
I'd much prefer to drop ours if we can get similar behaviour from the cond date patch. I'll have a look at it later. |
@flatcap Thanks for all the work! But I'm not sure Arch really belongs where it is on that diagram. neomutt on the AUR which I created incorporates all the neomutt patches, but the default mutt package is vanilla (see the PKGBUILD). Which is not surprising since Arch packages do not usually include patches. That said the number of patched versions in the AUR is an indication that Arch users are maybe not happy with vanilla mutt either... |
@grobian
|
Speaking for the Fedora package: I'm mutt package maintainer in Fedora since few weeks ago, so I'm not yet at 100% speed. What I can say, is that Fedora policy is to ship packages as close to upstream as possible (in this case mutt). We (sadly) have 6 patches that at the moment I'm not sure if they could be upstreamed, dropped or if they have to stay there and, in this case, if they can be shared with other distro. In the long run, we don't want want to increase the number of patches we are applying, but we want to reduce them (possibly to 0). This thread is obviously interesting and important, and I'll try to contribute at it as well, but I think the goal should not to create a "standard set of patches" but to upstream those patches directly into mutt code. I know that @flatcap is trying to upstream some of those patches (ie sidepanel) and I hope this will be in the long run the solution. |
@flatcap: thanks, that looks promising, so I guess we can conclude, Smart Time patch can be removed in favour of the much more flexible Conditional Date patch. |
Hi @Fale , welcome to the discussion.
So tell me, how do you feel about that :-)
I'd like to help you get there.
That's fine. I have a COPR for Fedora users who want NeoMutt.
Great. All opinions are welcome.
Haha. Yeah. About that. Unfortunately Mutt development is SO conservative that very little gets integrated.
Yes, that is my entire life's goal: get sidebar integrated :-) Things are getting better, slowly. The new maintainer Kevin McCarthy is starting to accept changes. Helpfully, he's also reworked the Mutt windowing mechanism which simplified the Sidebar, greatly.
Yes, it will. |
I haven't really outlined my master plan to anyone yet. I my head, NeoMutt has several phases:
Phase 1's coming along nicely and the others can run in parallel. |
I've created a small script to generate index_format strings for the Conditional Dates feature. It's very simple, but it works. |
FreeBSD has a Smart Date patch which can be replaced with Conditional Dates using this config: |
@shioyama
That's quite a lot. I notice that yours is the most popular :-) Part of my "secret" plan is to |
For latest ncurses I´d like to suggest to avoid code like "COLS = width + SidebarWidth;" as this could be expanded to code like " _nc_COLS() = width + SidebarWidth;" ... seen with latest ncurses6 with wide character support and threadsafe |
That I know about. It was introduced to work around a lot of ugly hard-coded COLS use in the Mutt code. Fortunately, Kevin McCarthy stripped out all the **** when he reworked the windows code. If this MUST be fixed now, please raise an issue (and I'll create a workaround, somehow). If it can wait a short while (until after this first phase of distro-merging), then I might follow @grobian 's lead and "pre-merge" the new windows code (ahead of an official release). This is my preferred solution. |
To all, I've promoted Compress, NNTP and Keywords to features. |
@bitstreamout |
NeoMutt 2016-05-30 ReleasedThe release now contains my first draft of the distro patches: They apply cleanly and everything builds. Beyond that, I'm not making any guarantees :-) I've updated the diagram (top of page) to reflect the layout of the patch tree. FreeBSDUdo, @opsec Gentoo@grobian Note: Three commits (of low importance) were missing from the big patches -- An added error message and two translation updates. Now that they're included, "mutt-pre" represents a contiguous set. |
NeoMutt Patch Setshttps://github.com/neomutt/neomutt/releases/download/neomutt-20160530/neomutt-distro-20160530.tar.gz Supported distrosThe patchsets apply to the following distros:
Patch DirectoriesEach directory contains a set of patches which should be applied as a set.
FeaturesThe following features are available:
Application of PatchesThe patchsets apply cleanly to Mutt-1.6.1. NeoMutt, Arch (AUR), OSX (Homebrew)
Debian
Fedora
FreeBSD
Gentoo
Suse
|
IntegrationI've just pushed the distro patchsets to integration/patches. |
@pickfire wonderer how I created the diagram.
Here's the source to the patch-tree diagram: patch-tree.gv.txt
|
bapt added neomutt to the freebsd ports tree: |
Just a headsup, the first version of Mutt fully backed by NeoMutt patches has landed in Gentoo. This works very well for us. |
I'm closing this issue now that we have all agreed upon how the patch tree will look. The issue can always be checked and referenced to again from the closed issues tab. |
Proposal for Mutt Patch Sets
Key:
Notes
Bug Fixes
The "bug-fixes" patch, will start empty. It will accumulate fixes that all distros want. Once a fix is here, an issue will be raised on the Mutt bug tracker.
Distro Patches
Most distros have their own set of patches, unique to them. They will be rebased and applied after the NeoMutt patches. Once the main patch sets are stable, we can start sharing the distro patches.
The text was updated successfully, but these errors were encountered: