Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt at making Travis happy about Asciidoctor 2.0 #216

Merged
merged 7 commits into from
Nov 6, 2018

Conversation

obilodeau
Copy link
Member

No description provided.

obilodeau added a commit to obilodeau/asciidoctor-doctest that referenced this pull request Oct 30, 2018
Right now asciidoctor-reveal.js builds fails with asciidoctor-doctest complains because of strict dependency requirements. See asciidoctor/asciidoctor-reveal.js#216. I'm not sure this is the right way to fix it but we need to think about it.
@obilodeau
Copy link
Member Author

Some issues are upstream like in asciidoctor-doctest. I'm sure they'll get handled in a timely fashion. Not that we are in a rush, 2.0 dev started today so it shouldn't appear overnight. Yay CI-testing with upstream in mind 😄

@mojavelinux
Copy link
Member

For compatibility with 1.5.8, you should add a dependency on the concurrent-ruby gem. You can still depend on thread_safe too. As long as both gems are present, it will work on both 1.5.7 and 1.5.8 without any warnings.

For compatibility with 2.0.0, you'd drop (exclude) the following rvms from the upstream build matrix:

  • 2.2
  • 2.1

Aside from that, I expect everything to work the same.

@obilodeau
Copy link
Member Author

obilodeau commented Oct 30, 2018 via email

@mojavelinux
Copy link
Member

Ah, yes, that makes sense. 2.0.0 will not introduce any API changes, so it's safe to upgrade just as you would a 1.5.x release. We're just reestablishing the major version so that we can start following semantic versioning from that point forward.

Still, you'll want to drop 2.1 and 2.2 as they are no longer officially supported by the Ruby language project.

why is the dep on thread_safe or concurrent isn't done upstream in your gemfile? Why do we have to specify it downstream?

Asciidoctor core has a policy of having 0 dependencies. On top of that, it's only a recommended dependency, not a required one.

And, btw, it's now concurrent-ruby, not thread_safe. Though, for it to work without warning on both 1.5.7 and 1.5.8, you'll need both on the load path.

Upstream as a 0 dependency policy. This is why they are defined here. They will improve performance and eliminate warnings.
jirutka pushed a commit to obilodeau/asciidoctor-doctest that referenced this pull request Nov 5, 2018
Right now asciidoctor-reveal.js builds fails with asciidoctor-doctest
complains because of strict dependency requirements.
See asciidoctor/asciidoctor-reveal.js#216.
obilodeau added a commit to obilodeau/asciidoctor-templates-compiler that referenced this pull request Nov 5, 2018
Right now asciidoctor-reveal.js builds fails with asciidoctor-templates-compiler complains because of strict dependency requirements. Asciidoctor 2.0 is on the way and will be compatible with 1.5.8.

See asciidoctor/asciidoctor-reveal.js#216.
Rewrote Minimum requirements README section.

* Covers bundler and npm with links
* Linked the README to upstream's Asciidoctor requirements since all further requirement our project introduces are satisfied by Ruby packages
* Added a link to Asciidoctor.js too. There are no explicit requirements but the package.json will enumerate them.
@obilodeau
Copy link
Member Author

obilodeau commented Nov 6, 2018

All tests are green! Two TODOs of using specific repositories until the dependencies merge and do a release:

I'm going to merge early because this makes current failing tests pass (due to Asciidoctor's 2.0 migration). I don't like to see failing tests all over the place while I'm prepping a release.

Edit: clarified last sentence, the meaning was reversed

@obilodeau obilodeau merged commit 7614cc8 into asciidoctor:master Nov 6, 2018
jirutka pushed a commit to jirutka/asciidoctor-templates-compiler that referenced this pull request Nov 11, 2018
Right now asciidoctor-reveal.js builds fails with asciidoctor-templates-compiler complains because of strict dependency requirements. Asciidoctor 2.0 is on the way and will be compatible with 1.5.8.

See asciidoctor/asciidoctor-reveal.js#216.
@obilodeau obilodeau deleted the asciidoctor-2.0 branch February 11, 2019 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants