Config format
See original GitHub issueEliminate shorthands
<folder>:
<repoName>: '<repoUrl>'
- This would need to be a 2.0.0 thing
- 2.0 could be released today if I wanted to, but we’d end up having versions like Firefox or Chrome does. Eventually we’d end up at vcspull 42.0.1
One config format
- Future-proof: Has to work with all theoretically all vcs and copying systems: git, svn, hg, scp, rsync, http, whatever
- Work immediately out of the box, focus on code clarity:
- Pass into
GitRepo(path=pathlib.Path('~/work') / pathlib.Path('libtmux'), **options) SVNRepo(path=pathlib.Path('~/work') / pathlib.Path('MySVNProject'), **options)
- Pass into
- Make config file mutations like #333 easier
~/work/:
libtmux:
vcs: 'git'
options:
origin:
url: 'https://github.com/vcs-python/vcspull.git'
libtmux_mirrored_remotes:
vcs: 'git'
options:
origin:
fetch: 'https://github.com/vcs-python/vcspull.git'
push: 'git+ssh//git@github.com/vcs-python/vcspull.git'
MySVNProject:
vcs: 'svn'
options:
url: http://unladen-swallow.googlecode.com/svn/trunk/
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
The 3 Best Config File Formats - Jonathan Hall
There are countless configuration file formats. Some are custom-designed for a specific application, such as those used by the Apache web ...
Read more >Configuration file - Wikipedia
In computing, configuration files are files used to configure the parameters and initial settings for some computer programs.
Read more >CONFIG - Configuration File - File Format Docs
The CONFIG File format is used for server processes, software applications, and operating system settings. A programmer can write code to instruct a...
Read more >What is a config file? - Opensource.com
Configuration files ("config files" for short) are important to modern computing. They allow you to customize how you interact with an ...
Read more >Configuration file format
configr can be used to parse JSON, INI, YAML and TOML format configuration files. Examples of json, ini, yaml, toml format configuration file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We should also think of adding some kind of config validation between reading the config from the file and actually using it.