Open sockeqwe opened 4 years ago
Hi @sockeqwe.
Thanks for the explanation.
I totally agree with you. So to start i directly created a new branch "circleci" where i already set up a default circlci config with building and testing. @sockeqwe It would be great if you can have a look at it and also implment the SNAPSHOT and RELEASE uploading part.
If this is working we can go on with the other stuff!
Travis CI changed something on the build system that is affecting OpenJDK versions. This is why, you are getting "Expected feature release number in range of 9 to 14, but got: 8" error. They have different distribution one for Android is "trusty." This can be very pita for the java/android developers.
Circle CI is running, building and deploying now. Releasing should work in the future automatically from master branch to oss sonatype.
https://circleci.com/gh/Tickaroo/tikxml/27
However, there is one artifact that is not published (gradle config looks ok though)
converter-date-rfc3339
is missing https://oss.sonatype.org/content/repositories/snapshots/com/tickaroo/tikxml/converter-date-rfc3339/Here is the PR to fix this: https://github.com/Tickaroo/tikxml/pull/141
There are somebody else is trying to do XML Support on top of the Kotlinx serialization. it only use platform libraries.
https://github.com/pdvrieze/xmlutil
TikXml + Okio 2 + Kotlinx serialization = powerful multiplatform libraries
As you all have noticed TikXML is not in a good shape anymore. This has various reasons but the main reason probably is that I'm not working for Tickaroo anymore (since more than 2 years), the company where we have started this project. When I left Tickaroo, Tikxml was working good enough and kind of has been seen as feature completed as it worked good enough for the use case at Tickaroo.
Right now there are some real issues that need to be fixed:
That is why 0.8.13 is the last "working" and "stable" release as it has been published in the good old maven days but it lacks some improvements that have been added since then
When will be release 1.0 be published?
Obviously we have to fix the points above first but then:
@ElementNameMatcher
: @Bodo1981 (works at Tickaroo) did already some work on introducing a way to not have to annotate all subclasses in a hierarchy with@ElementNameMatcher
but let the Annotation processor figure that out automatically. This adds a much better developer experience as Tickaroo has a lot of multiple data classes that inherit from one base class and every time you add new content you have to add or adjust`@ElementNameMatcher
all over the place.Therefore I would say this is the one missing feature that needs to be added to ship 1.0.
What comes after 1.0 or in other words what is not included in 1.0 release:
@ElementNameMatcher
is implemented actually. Also, at Tickaroo most of the model data classes annotated with TikXML (as far as I know) live in one gradle module. Therefore gradle will recompile the whole gradle module anyway independently of incremental or not incremental annotation processor and causing other depending gradle modules to recompile as well. Therefore in the context of Tickaroo incremental annotation processing doesn't have highest priority because it is not the bottleneck BUT of course we acknowledge that others would benefit from incremental annotation porcessing. So I think it makes sense to add support for incremental annotation processing, just not before 1.0 release.I can take care of Continious Deployment point above and migrate things to CircleCI. The goal is to be able to release SNAPSHOTS and RELEASES from CircleCI whenever we push something to
master
branch (like accepting a PR) without having to do release management by 1 of the Tickaroo employees who know about the signing credentials.For the other points, however, we need your help as we can't do that alone (I certainly cannot dedicate way more time for this project than I did in the past as I personally don't have too much need for TikXML and I don't work for Tickaroo anymore and have a lot of other open source projects going on in addition to ... you know ... life :smile: ). Any contribution is very much welcome and I wanted to thank all contributors so far especially @iNoles and @WeaponMan !