{{Quickfixn}} Quickfixn Digest, Vol 131, Issue 2

Francis Gingras francis at collective2.com
Mon Nov 20 13:10:45 PST 2023


That is great, thank you Grant!

Francis



On Mon, Nov 20, 2023 at 4:06 PM <quickfixn-request at lists.quickfixn.com>
wrote:

> Send Quickfixn mailing list submissions to
>         quickfixn at lists.quickfixn.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
> or, via email, send a message with subject or body 'help' to
>         quickfixn-request at lists.quickfixn.com
>
> You can reach the person managing the list at
>         quickfixn-owner at lists.quickfixn.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Quickfixn digest..."
> Today's Topics:
>
>    1.  new C#-based DDTool code generator! (Grant Birchmeier)
>    2.  revised .gitattributes file in project repo (Grant Birchmeier)
>
>
>
> ---------- Forwarded message ----------
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Cc:
> Bcc:
> Date: Mon, 20 Nov 2023 12:37:52 -0600
> Subject: {{Quickfixn}} new C#-based DDTool code generator!
> Hi all,
>
> I'm happy to announce a new C#-based code generator, DDTool!  Those of you
> using only nuget packages probably won't care, but if you're maintaining
> custom QF/n builds then you will probably appreciate this very much!
>
> I spent the past week banging it out in a new C# solution, with as few
> dependencies as possible.  The first milestone was to make its output match
> the ruby-generated code exactly.  After that, I fixed some other quirks in
> the generated code (and will probably do some more of that in the coming
> weeks/months).
>
> The easiest way to run it is "pwsh scripts/Generate-Message-Sources.ps1"
> which calls "dotnet run" to build and run it.  (Of course, you won't see
> any generated changes if you haven't altered the DDs.)  If you want to take
> a deeper look, check out the Readme and solution in the DDTools/ folder.
>
> (I still love Ruby, but I freely admit that the Ruby-based generator
> should have been replaced a long time ago.  Farewell, ruby generator!)
>
> -Grant
>
>
> --
> <https://www.connamara.com>
>
> Grant Birchmeier
>
> Sr. Software Engineer, Connamara
>
> gbirchmeier at connamara.com
>
> This email, along with any attachments, is confidential. If you believe
> you received this message in error, please contact the sender immediately
> and delete all copies of the message. Thank you from Connamara Systems, LLC.
>
>
> ---------- Forwarded message ----------
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Cc:
> Bcc:
> Date: Mon, 20 Nov 2023 13:25:06 -0600
> Subject: {{Quickfixn}} revised .gitattributes file in project repo
> This message is for anyone hacking on QF/n itself:
>
> During my recent DDTool work, I also revised the .gitattributes file.
>
> QF/n is truly cross-platform -- it might surprise some of you to know that
> I've been developing it mostly on a Mac for the past few years (though I do
> have a windows machine for checking things).  If you have ever worked on a
> project that has both Windows and Unix users, you've surely known the "fun"
> of mixing newline styles.
>
> Until this weekend, the .gitattributes file had specified the various
> cs/csproj/sln files and some others as using windows newlines ("crlf").
> I've changed this so now they are just "text" (as opposed to binary).  The
> repo will now store text files in Unix newlines ("lf"), but your local
> repo will use your system-native newlines.
>
> If you clone the repo anew, you won't notice anything.  It will seem
> normal as ever.
>
> If you update an existing repo, then you might see mixed-line-ending
> messages, because git does NOT re-normalize your local repo.  I've
> experimented with this change on both platforms:
>
>    - Windows users: your files were already crlf, and changes you make
>    will keep using crlf, so you probably won't notice anything.
>    - Unix users: your files were crlf, and new changes you make will
>    probably add lf-without-cr, so you might see the git warnings.
>
> As I said earlier, even if you do see warnings, all text-file commits will
> save only "lf" endings to the repo, so your PRs should be fine.  If you're
> seeing the warnings and want to get past them once and for all, just
> re-clone your repo, and that should do it.
>
> -Grant
>
>
>
>
> On Mon, Nov 20, 2023 at 12:39 PM Grant Birchmeier <
> gbirchmeier at connamara.com> wrote:
>
>> Hi all,
>>
>> I'm happy to announce a new C#-based code generator, DDTool!  Those of
>> you using only nuget packages probably won't care, but if you're
>> maintaining custom QF/n builds then you will probably appreciate this very
>> much!
>>
>> I spent the past week banging it out in a new C# solution, with as few
>> dependencies as possible.  The first milestone was to make its output match
>> the ruby-generated code exactly.  After that, I fixed some other quirks in
>> the generated code (and will probably do some more of that in the coming
>> weeks/months).
>>
>> The easiest way to run it is "pwsh scripts/Generate-Message-Sources.ps1"
>> which calls "dotnet run" to build and run it.  (Of course, you won't see
>> any generated changes if you haven't altered the DDs.)  If you want to take
>> a deeper look, check out the Readme and solution in the DDTools/ folder.
>>
>> (I still love Ruby, but I freely admit that the Ruby-based generator
>> should have been replaced a long time ago.  Farewell, ruby generator!)
>>
>> -Grant
>>
>>
>> --
>> <https://www.connamara.com>
>>
>> Grant Birchmeier
>>
>> Sr. Software Engineer, Connamara
>>
>> gbirchmeier at connamara.com
>>
>> This email, along with any attachments, is confidential. If you believe
>> you received this message in error, please contact the sender immediately
>> and delete all copies of the message. Thank you from Connamara Systems, LLC.
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>
>
>
> --
> <https://www.connamara.com>
>
> Grant Birchmeier
>
> Sr. Software Engineer, Connamara
>
> gbirchmeier at connamara.com
>
> This email, along with any attachments, is confidential. If you believe
> you received this message in error, please contact the sender immediately
> and delete all copies of the message. Thank you from Connamara Systems, LLC.
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20231120/a9d715f2/attachment-0002.htm>


More information about the Quickfixn mailing list