Re: gnulib-tool: Use the Python implementation by default

2024-04-29 Thread Dmitry Selyutin
Hi folks, sorry for the long silence! I've been tracking your progress for a while, even though sporadically and remaining silent. I'd like to say "thank you" to Bruno and Collin, who made it this far and never surrendered. :-) Truth to be told, the code I implemented leaves much to be desired,

Re: removing permissions for long unused accounts, take 2

2022-07-12 Thread Dmitry Selyutin
Hi Bruno, On Wed, Jul 13, 2022 at 8:18 AM Bruno Haible wrote: > > Dmitry Selyutin > OK to proceed? I'm fine with revoking my write permissions. I still have plans to check on Python gnulib, but, if I will do it, it's simple to restore the permissions. Until then, let's follow the

Re: gnulib-tool.py: Import mktemp

2018-06-28 Thread Dmitry Selyutin
Hi Tim, thank you for noticing it! Pushed into master. -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

gnulib-tool: .XXXignore files generation

2018-06-27 Thread Dmitry Selyutin
', 'prefix/tests', 'zerosize-ptr.h') ('D', 'prefix/tests', 'zerosize-ptr.h') ('D', 'm4', 'ctype.m4') However, the tricky part is what to do with that information. Could you help me on this part, please? Thank you for your help! -- With best regards, Dmitry Selyutin

Re: gnulib-tool: conditional dependencies calculation

2018-06-27 Thread Dmitry Selyutin
it 1 What am I missing? It looks like pygnulib and gnulib-tool have different understanding of conditional modules. Thank you for your help! -- With best regards, Dmitry Selyutin

Re: Change the python interpretor to use /usr/bin/env python3

2018-04-01 Thread Dmitry Selyutin
Hello, thank you for investigating this. I'm joining to questions asked by Paul; moreover, as far as I know specifying python is usually the most correct way to make python work regardless of version (i.e. it is supposed that one day there will be no distinction between python and python3). FWIW,

Re: gnulib-tool: conditional dependencies calculation

2018-02-11 Thread Dmitry Selyutin
erstand what's wrong. I suspect that the whole issue is somehow related to handling of the "-tests"-related modules. Could you please take a look on it? I've been dealing with this issue for several evenings and yet no result. :-( Thank you! -- With best regards, Dmitry Sel

gnulib-tool: conditional dependencies calculation

2018-02-10 Thread Dmitry Selyutin
the support for --conditional-dependencies in Python. Thank you! -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

Re: gnulib-tool.py does not write the gitignore file correctly

2018-01-27 Thread Dmitry Selyutin
It turns out that the original gnulib-tool > used to write the .gitignore file with a list of all the files it copied > into m4/. But, gnulib-tool.py does *NOT* write the gitignore file. > > Could this please be fixed? It's not a major issue, just a minor > inconvenience. --

Re: pygnulib: progress and some questions (func_emit_autoconf_snippets)

2017-12-28 Thread Dmitry Selyutin
Hi Bruno, thank you for the detailed answer. I think I still have to do some debugging to understand why the Python version of the algorithm for autoconf snippets generation works incorrectly, but I hope I understood how it should work. 29 дек. 2017 г. 2:32 ДП пользователь "Bruno Haible"

pygnulib: progress and some questions (func_emit_autoconf_snippets)

2017-12-27 Thread Dmitry Selyutin
stances. Thank you for your help! -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

Re: [PATCH] gnulib-tool.py: Append, don't replace existing VCS ignore files

2017-11-20 Thread Dmitry Selyutin
Hi Darshit, I've just pushed your patch. I took the liberty to format it as if it was sent via git format-patch. Thank you again! signature.asc Description: This is a digitally signed message part.

Re: [PATCH] gnulib-tool.py: Append, don't replace existing VCS ignore files

2017-11-19 Thread Dmitry Selyutin
blocking this patch? It doesn't seem like it has been merged > yet. > > * Darshit Shah <darnirml...@gmail.com> [170913 00:19]: > > * Dmitry Selyutin <ghostman...@gmail.com> [170911 21:32]: > > > Hi all, > > > > > > > As explained above,

Re: gnulib-tool.py: --symbolic and --hardlink support

2017-10-22 Thread Dmitry Selyutin
you! -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

[pygnulib] gnulib-tool: license transformers

2017-10-02 Thread Dmitry Selyutin
l if you could also shed some light on lines 4915 and 4929 (related to numeric version parsing). P.S. Could suggest some files to train my regular expressions on? -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

Re: alternatives to 'strlcpy'

2017-09-28 Thread Dmitry Selyutin
oreover, since some people do not actually know the difference between strcpy and strcat, the situation is even worse. :-) -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

Re: new module 'strlcpy'

2017-09-28 Thread Dmitry Selyutin
How about strscpy from the Linux kernel? https://www.kernel.org/doc/htmldocs/kernel-api/API-strscpy.html 28 сент. 2017 г. 4:23 ДП пользователь "Paul Eggert" написал: > On 09/27/2017 05:35 PM, Bruno Haible wrote: > >> strlcpy with __warn_unused_result__ is the best solution

Re: pygnulib: Portability fixes

2017-09-25 Thread Dmitry Selyutin
I really think that Bruno was right from the very beginning. -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

Re: [PATCH] gnulib-tool.py: Clean the imports

2017-09-24 Thread Dmitry Selyutin
t's correct and does the right thing, but I really think that it would be a lot better to invest your time into a new implementation. Especially if you want to train your Python skills, because the old code may really teach you some bad developer practices. -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

[pygnulib] simplify cache configure.ac parsing

2017-09-12 Thread Dmitry Selyutin
u think? BTW, the version from the pygnulib differs a bit already from the gnulib-tool shell script; I've attached the patch. I've also decided to use raw string literals just to make regex less verbose. -- With best regards, Dmitry Selyutin From 71a8d4a82caf17350cd3fad4ba6feb7b7fdb3e94 Mon Sep 17 00

Re: gnulib-tool.py

2017-09-11 Thread Dmitry Selyutin
Hi Tim, this is a kind reminder that it is still unstable and buggy, so I hope that you still maintain runners with the original gnilub-tool script. Still this news sounds great! -- With best regards, Dmitry Selyutin signature.asc Description: This is a digitally signed message part.

Re: [PATCH] gnulib-tool.py: Append, don't replace existing VCS ignore files

2017-09-11 Thread Dmitry Selyutin
y after looking into the code, but at least it is working somehow and can be a basic for a much better API. Remember that we're staying on giants' shoulders, I've just rewritten what was created before in another language. :-) Anyway, thank you for your kind words! -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py: follow gnulib-tool changes

2017-09-09 Thread Dmitry Selyutin
ter formatted into > > `(startpos, pos) = match.span()`. > > Done. I had verified that both syntaxes work, but did not know which one is > the preferred one. > > Bruno > > -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py: follow gnulib-tool changes

2017-09-09 Thread Dmitry Selyutin
17:52 GMT+03:00 Bruno Haible <br...@clisp.org>: > Hi Dmitry, > > Here's the next round of patches, for your review. I'm slowly working > through > the past gnulib-tool changes. > > Bruno > > -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py argument parsing

2017-09-09 Thread Dmitry Selyutin
ill be to > > 1) replace the line > cmdargs = parser.parse_args() > with > cmdargs, nonoption_args = parser.parse_known_args() > > 2) Revisit all uses of nargs='+' and nargs='*'. > > Bruno > > -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py: follow gnulib-tool changes

2017-09-09 Thread Dmitry Selyutin
t's very possible that you find mistakes in these patches. > > Bruno > -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py: trivial fixes

2017-09-09 Thread Dmitry Selyutin
Sure, perfectly OK. 2017-09-09 12:40 GMT+03:00 Bruno Haible <br...@clisp.org>: > Hi Dmitry, > > Here are some proposed fixes for trivial issues. May I push these? > > Bruno > > -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py

2017-09-08 Thread Dmitry Selyutin
com>: > * Dmitry Selyutin <ghostman...@gmail.com> [170908 16:39]: > > Hi Bruno, > > > > below is the sequence of commands. > > > > # creating a new branch on commit before pushing gnulib-tool > > $ git branch pygnulib-stable ec2d72558 > > &g

Re: gnulib-tool.py

2017-09-08 Thread Dmitry Selyutin
rent. > > > Bruno, Paul, could you help me with merging? > > I might help you better if you show the error message(s) you got - and, > obviously, the command sequence you tried. > > Bruno > > -- With best regards, Dmitry Selyutin

Re: gnulib-tool.py

2017-09-07 Thread Dmitry Selyutin
using some kind of tool which formats the code automatically. 6 сент. 2017 г. 7:42 ПП пользователь "Tim Rühsen" <tim.rueh...@gmx.de> написал: > On Dienstag, 5. September 2017 23:35:54 CEST Dmitry Selyutin wrote: > > Hi Tim, > > > > that's exactly what I've done

Re: [pygnulib] gnulib-python initial merge and some minor bug fixes

2017-08-21 Thread Dmitry Selyutin
Hi Bruno, what do you think if I'll periodically merge stable versions into the master? For example, I think currently the imported 'as is' version can be merged. I'd like to work on API on a separate branch though, since I roughly dislike the idea of developing on master. For example, see my

Re: [pygnulib] gnulib-python initial merge and some minor bug fixes

2017-08-20 Thread Dmitry Selyutin
P.S. Please ignore binary .pyc files; they won't be present in the commit, just a leftover from the testing. 2017-08-20 11:10 GMT+03:00 Dmitry Selyutin <ghostman...@gmail.com>: > Sorry, I've forgotten to provide a link to the original repository. > > [0] https://github.com/gh

Re: [pygnulib] gnulib-python initial merge and some minor bug fixes

2017-08-20 Thread Dmitry Selyutin
Sorry, I've forgotten to provide a link to the original repository. [0] https://github.com/ghostmansd/gnulib-python 2017-08-20 11:08 GMT+03:00 Dmitry Selyutin <ghostman...@gmail.com>: > Hello, > > this is the very first patch after five years of silence. > It all boils down t

Re: --create-testdir eats CPU and does nothing

2017-08-05 Thread Dmitry Selyutin
Hi everyone! I'm amazed that someone still remembers this project. Looking at its sources, I see that there is room for improvement, but still the overall project structure may still be integrated into gnulib. I would be glad to continue working on the project in my free time, though my Python

Re: symlink.c for Windows

2013-09-09 Thread Dmitry Selyutin
for me to learn from experienced professionals, and I'm really glad that here in gnulib I sometimes have such an opportunity. Thank you again! If there are some things to be said, I'm always open for discussion! 2013/9/9 Eli Zaretskii e...@gnu.org From: Dmitry Selyutin ghostman...@gmail.com

symlink.c for Windows

2013-09-08 Thread Dmitry Selyutin
; +} + +# endif + #endif /* !HAVE_SYMLINK */ -- With best regards, Dmitry Selyutin E-mail: ghostma...@gmail.com Phone: +7(985)334-07-70

pygnulib: code separation

2013-05-10 Thread Dmitry Selyutin
it? -- With best regards, Dmitry Selyutin E-mail: ghostma...@gmail.com Phone: +7(985)334-07-70

Re: pygnulib: code separation

2013-05-10 Thread Dmitry Selyutin
-- With best regards, Dmitry Selyutin E-mail: ghostma...@gmail.com Phone: +7(985)334-07-70

gnulib-tool.py: a new life

2013-04-18 Thread Dmitry Selyutin
like *hello*. Since I'm studying in Italy yet, I won't have so much time until summer. However, I hope that I can help even this time, though I can't promise it will be often. I hope that situation will change when summer comes. Good luck! -- With best regards, Dmitry Selyutin E-mail: ghostma