Skip to content

Make manifest URLs use oclif template config#1266

Open
pimterry wants to merge 1 commit intooclif:mainfrom
httptoolkit:template-urls
Open

Make manifest URLs use oclif template config#1266
pimterry wants to merge 1 commit intooclif:mainfrom
httptoolkit:template-urls

Conversation

@pimterry
Copy link
Contributor

This is the first step towards fixing oclif/oclif#828.

Actually releasing this might require a major bump. It only applies if the user has templates set in oclif -> update -> s3 -> templates, but if anybody has some of these leftover from older versions of Oclif when they were supported, and then updates this package, they will unexpectedly start fetching from a new location which will probably break their update mechanism entirely.

I would have assumed that was unlikely, but it turns out this even applies to the tests in this repo - they still have a templates section even though it hasn't been functional since Oclif v1, and so changing this code breaks all the nock mocking in the tests because the URL changes.

I'll open a parallel PR to update the publish-side code in just a minute as well.

Debatable whether this is a feature or a fix, since it used to work, but
it's been such a long time since it did that it's effectively totally
new.
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.

1 participant