Comments (6)
Hi @tomzo,
I was simply surprized that it didn't use snakeyaml since everywhere you see snakeyaml when you run into yaml parsing in java (eg. https://github.com/FasterXML/jackson-dataformat-yaml). :)
I am pretty confident that snakeyaml is the best lib out there for yaml parsing in java.
We discussed with my colleagues that we might try and contribute this change.
from gocd-yaml-config-plugin.
I suspect (but have not tested) that this is resolved by #62. Possibly just needs a test or two...
from gocd-yaml-config-plugin.
I ran into this issue as well...
And nope, yamlbeans doesn't support the merge syntax:
https://github.com/EsotericSoftware/yamlbeans/blob/master/src/com/esotericsoftware/yamlbeans/tokenizer/Tokenizer.java#L259
Why doesn't this plugin use snakeyaml? It's basically the best yaml parser for java out there, no contest:
https://bitbucket.org/asomov/snakeyaml
from gocd-yaml-config-plugin.
Hi @reegnz
Why doesn't this plugin use snakeyaml? It's basically the best yaml parser for java out there, no contest
That wasn't obvious to me 2 years ago, when choosing a parser. It's not like yamlbeans says in the readme that it does not support this and that.
If you are confident that snakeyaml would be better, then I have no problem with switching to it. If you or anyone can switch the parser and keep the existing tests passing, that would be great.
If you want merge syntax to work, please add at least one test case with use of it.
from gocd-yaml-config-plugin.
Is this still an issue? I see snakeyaml as a dependency in build.graddle
from gocd-yaml-config-plugin.
So is yamlbeans. Checked the code, still using yamlbeans for parsing the config.
from gocd-yaml-config-plugin.
Related Issues (20)
- RuntimeException when exporting certain pipelines HOT 3
- doesn't support branchblacklist/branchwhitelist attribute for git-feature-branch plugin HOT 1
- Move current GoCD templates into Yaml. Or find a way to reference global Yaml templates HOT 5
- Use pipeline parameters in the "approval" property HOT 3
- target_version 9 not supported in gocd 19.9.0 HOT 1
- Declaring a secret as an environement variable HOT 5
- Broken after update to 20.2 HOT 2
- is this plugin still maintained or not? HOT 1
- Pipeline Export always returns `format_version` = 3 HOT 1
- Private Github Repository material failing - Not recognizing username nor encrypted password attributes HOT 1
- Issue with export of pipeline with two materials without a name HOT 1
- Role access support for pipeline group via yaml config plugin HOT 4
- Support scm ref for config repo configuration
- Non editable parameters HOT 2
- Error exporting pipeline created using the UI. HOT 5
- Multibranch pipeline example request HOT 1
- Creating pipelines with request headers in yaml file config through API call seems wrong as it defaulted to null HOT 1
- Cannot refer elastic_profile_id to an environment variable. HOT 2
- nant_path label does not work HOT 2
- Duplicate Key error when using override feature from YAML HOT 10
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 gocd-yaml-config-plugin.