Comments (6)
My bad, you are right root
is relative to the current devenv file.
Maybe we could deprecate the root
variable naming and name it file_location
(or devenv_file_location
) since there is a request to support referencing devenv files from the web and use the alias is_top_level = not is_included
to avoid root related terms.
from conda-devenv.
Yes.
Our brains have problems to process negatives.
leave_here
...
The first thing that come to my mind is an is_root
but I think it is much similar to root
(anoter var already present).
@nicoddemus do you have any suggestion about a variable name?
As a temporary workaround you could add (maybe at the top) {% set leave_here = not is_included %}
and then use leave_here
as a variable normally.
from conda-devenv.
@nicoddemus do you have any suggestion about a variable name?
Not at the moment :/
from conda-devenv.
Yes.
Our brains have problems to process negatives.
leave_here
...
The first thing that come to my mind is anis_root
but I think it is much similar toroot
(anoter var already present).
@nicoddemus do you have any suggestion about a variable name?As a temporary workaround you could add (maybe at the top)
{% set leave_here = not is_included %}
and then useleave_here
as a variable normally.
Yes. I already do something like that #112 (comment)
from conda-devenv.
Well, root
should be ~root_pth
.
To use 'root' language, at_root
, inclusion_root
, at_inclusion_root
? The user would have to understand the processing of the devenvs as a tree where each devenv is a 'root' for included devenvs (not saying it's a bad thing).
Yeah there are two 'tree' concepts to deal with: the filesystem and the inclusion tree.
from conda-devenv.
My bad, you are right
root
is relative to the current devenv file.Maybe we could deprecate the
root
variable naming and name itfile_location
(ordevenv_file_location
) since there is a request to support referencing devenv files from the web and use the aliasis_top_level = not is_included
to avoid root related terms.
this_file_path
, and this_file_dir
.
and
is_base
?
from conda-devenv.
Related Issues (20)
- feature: triggers HOT 5
- Add support for mamba HOT 6
- Is it possible to have the library packed portable? HOT 1
- Improve docs about environment variables overriding HOT 6
- Incorrect rendering of pip dependencies with flags HOT 2
- Add ability to read devenv.yml from URL HOT 3
- Channel order should be respected (and maybe also pip dependency order) HOT 1
- Including several editable pip installs generates a wrong requirements line HOT 2
- enable selectors syntax in includes section HOT 1
- How to update the environment variables only? HOT 2
- option to pass args to conda HOT 3
- use conda env config vars set HOT 2
- activation script not set when using alt filename HOT 1
- feature: 'included_by' list HOT 2
- mamba devenv is not using mamba HOT 4
- Add type annotations HOT 1
- Proposal: pins/run_constrained support HOT 8
- dep key items unintended merging HOT 6
- inconsistent 'schema' when merging with non-pip 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 conda-devenv.