Comments (4)
How about this for a plan:
From the current directory, recursively walk up the filesystem until you find a ripple.config file. The presence of the ripple.config file denotes the root of the repository.
From the root of the repository/solution: the PARENT of that root is what we assume to be the "code" directory.
from ripple.
I agree with that, but you also have to watch how many you go up. Let's cap the number of "walks" up and say that you can only run ripple from within a folder containing a csproj file, the project directory, or the "code" directory.
I had problems in the early days where it would scan up too far and go super wonkey when it hit c:\
from ripple.
I'm thinking it'll work roughly the same way that git does if we do a shallow search for ripple.config with each walk. If you make it to the root, then you just bomb out, I think. Of course, this is all theoretical and I have no idea how it'll play out when I actually write it.
I think the shallow search for ripple.config with each walk will be cheaper than deep searching for a csproj file from the current directory.
from ripple.
Got it 777731e
from ripple.
Related Issues (20)
- Conditional References not Handled
- Float dependencies install newest version from all feeds.
- Exception when running ripple local --verbose
- open-log
- ripple install and PCL libraries
- ripple restore of Float dependency does not extract nuget package HOT 2
- Build failing - type or Namespace None not found HOT 2
- Question: Packages source in ripple.config vs. package source in nuget.config HOT 1
- Intermittent NRE when downloading nugets from TeamCity feeds HOT 3
- Nuget.Core version HOT 1
- Ripple 3 should not force you to convert to the ObjectBlocks style config HOT 2
- Initial build / package restore fails HOT 2
- Generate the ripple.cli.xml file when building, add it to .gitignore and remove from the repo HOT 5
- Default ripple feeds keep being added back into config
- Extract command needs to be paged
- When SourceFolder is . then packages hintpath is wrong
- Please release ripple.cli 3.x Ruby Gem HOT 4
- Has LocalCommand been replaced with something else ? HOT 2
- Chocolatey package is out of date
- Provide an easy and standard way to check for installed ripple version
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 ripple.