Comments (6)
I think I'm more in favor of the following:
groups:
- name: group1
default: true
members:
- a
- b
- name: group2
members:
- c
Though I don't recall if yml supports optional parameter format like this.
Should gitman install accept both 'group1' and 'default' as inputs? i.e. gitman install
== gitman install default
== gitman install group1
from gitman.
I'm ok with that too. However, by having a separate field to specify the default group, we bypass having to deal with a situation where default: true
is set for multiple groups.
from gitman.
Have a work-in-progress which meets the requirements of this feature request: https://github.com/Erich-McMillan/gitman/tree/feature/236-default-group. Only issue so far is that if an existing gitman.yml does not already have default_group
property then a default item is added automatically as default_group: ''
which will default back to installing all sources on gitman install
.
from gitman.
I don't really see that as an issue. It makes the new feature explicit, but doesn't change existing behavior. Win-win!
from gitman.
@brandonaut have a proposed solution to add your feature request in this PR #237. Since I sent you a test exe and these changes met your requirements we are just waiting on feedback from @jacebrowning.
from gitman.
This functionality is available in this beta release: https://pypi.org/project/gitman/2.2b4/
from gitman.
Related Issues (20)
- YAML code highlighting is broken in the documentation HOT 1
- Default groups aren't honored for recursive installs/updates HOT 2
- Question: Is it possible to symlink a sub folder of the repository? HOT 5
- Using install and `--fetch`, gitman does not reset local branch to the remote version HOT 2
- Support for installing in "bare" with depth=1 and no .git folder HOT 4
- Document every field available in configuration files HOT 3
- Changes to 'sparse_paths' are not reflected on subsequent installs HOT 3
- UnicodeDecodeError occurs when running gitman update/install in Windows HOT 2
- Add dependencies from the CLI
- Clone sources in parallel
- Fix failing tests on Windows
- find_nested_configs does not use depth value or find depth > 2 packages HOT 2
- Authentication for HTTPS cloning HOT 7
- Symbolic links in nested repositories change after running gitman install HOT 9
- Support creating hard links (in additional to symlinks) HOT 7
- Detect changes in remote repositories when listing dependencies HOT 4
- filter_nested_configs is doing the opposite of what it should HOT 6
- About using gitman with CR/LF line ending setting HOT 2
- Reattach HEAD if revision is locked HOT 3
- Nested projects are skipped
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 gitman.