Comments (4)
@cavcrosby -- Thanks for the reminder! As often happens with personal side projects (at least with me), life got the way, and I lost track. This poke has rekindled my interest. I'll see what I can do to clean up and push what I have soon. It may not be functional yet, but it's better to share something than nothing.
Also, I'm embarrassed to realize I left this issue dangling. I'll confirm what I did about it and either move this forward or close it out.
from stow.
I have a what's perhaps a Perl noob question.
bin/stow.in
notes (in a comment) after initializingStow
that "current dir is now the target directory".See:
Lines 476 to 477 in 4ef5eca
Question: I'm having trouble finding the mechanism that is actually responsible for this. Can someone provide a hint?
Hmm. At a quick glance I can't see any chdir()
call which happens before this point, and this comment is extremely old, so it's probably an erroneous remnant of some refactoring. I'd suggest ignoring it for now.
For somewhat relevant context, I'm in the process of porting
stow
to Python.
Awesome!
Since this is for personal recreation (yes, I'm a nerd), I don't feel bound to backward compatibility or practical production constraints (eg. avoiding 3rd party libs); however, with #65 (comment) in mind, I will freely make it available in case @aspiers or the community finds it a useful reference.
Please do! If you are able to convert the existing Perl test suite over too then that would give us a ton of confidence that the Python implementation achieves equivalent behaviour.
I'm about 1/2 done already (started this week), but I'm currently hung up on this question I asked above.
OK cool, please keep us posted!
from stow.
Since this is for personal recreation (yes, I'm a nerd), I don't feel bound to backward compatibility or practical production constraints (eg. avoiding 3rd party libs); however, with #65 (comment) in mind, I will freely make it available in case @aspiers or the community finds it a useful reference. I'm about 1/2 done already (started this week), but I'm currently hung up on this question I asked above.
It's coming about to a year since you've mentioned this @boweeb, did you happen to make any further progress?
from stow.
@boweeb Now that the cobwebs are blown out of my head regarding how Stow works, I can confidently say that this was simply an outdated comment. I've now removed it.
Please keep us posted on any Python rewrite. I think it's a super interesting initiative! Realistically Perl is getting closer and closer to extinction these days (although like COBOL I'm sure it will never die).
from stow.
Related Issues (20)
- How to know that `stow` skip pointing symlink to destination since it already exists?
- make it possible to stow to a "flattened" file hierarchy (containing symlinks) HOT 2
- Stow needs a co-maintainer HOT 1
- New files in a directory managed by stow HOT 4
- Document TeX dependency HOT 4
- nvim stow from .config HOT 6
- Precedence warning message appears in 2.4.0 HOT 1
- `stow --simulate` should show `--adopt` actions HOT 2
- `stow --simulate` should warn when `-v` is not specified HOT 6
- Can GNU Stow use a stow target directory that is a symbolic link? HOT 2
- Investigate ditching Stow's pre-processing phase of installation HOT 1
- ~/.stow-global-ignore doesn't work HOT 15
- .stow-local-ignore: stow does not ignore file when parent directory does not exist
- Why was the no-folding-per-pkg branch abandoned?
- Failed to install because ls HOT 1
- make install fails | installation in docker container HOT 2
- Request build flag to turn off docs creation HOT 3
- Docs build error HOT 1
- --override not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stow.