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

2017-10-18 Thread Dmitry Selyutin
Hello everyone! After a small break for a week, I continue rewriting gnulib-tool in Python. Right now I'm on the track to implement functions related to adding and updating the files (possibly via patching). I see a big amount of code regarding --symlink and --hardlink; do these options have u

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

2017-10-18 Thread Paul Eggert
On 10/18/2017 01:26 PM, Dmitry Selyutin wrote: I see a big amount of code > regarding --symlink and --hardlink; do these options have use except of > speeding up the gnulib-tool? I mean, are these options used in practice? I use --hardlink so that when I edit files with Emacs I update both the

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

2017-10-18 Thread Bruno Haible
Hi Dmitry, > After a small break for a week, I continue rewriting gnulib-tool in Python. > Right now I'm on the track to implement functions related to adding and > updating the files (possibly via patching). I see a big amount of code > regarding --symlink and --hardlink; do these options have

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

2017-10-22 Thread Dmitry Selyutin
Hi Bruno, Paul, thank you for tips! Now I think I've come up with the decision how to handle both options (and this decision basically resembles the original handling). I've updated both configuration and parser logic on the python branch, and now I move forward to the file processing. Thank yo