Skip to content

Set resource_name in .tx/config files to preserve resource naming behavior prior to 2.1.0#90

Merged
AA-Turner merged 2 commits into
sphinx-doc:masterfrom
jpmckinney:master
Oct 3, 2023
Merged

Set resource_name in .tx/config files to preserve resource naming behavior prior to 2.1.0#90
AA-Turner merged 2 commits into
sphinx-doc:masterfrom
jpmckinney:master

Conversation

@jpmckinney

@jpmckinney jpmckinney commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

closes #88

@m-aciek m-aciek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind adding a test?

Comment thread sphinx_intl/transifex.py Outdated
@jpmckinney

Copy link
Copy Markdown
Contributor Author

@m-aciek I've added a test and updated my commit with the suggestion.

@m-aciek m-aciek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

@rffontenelle

rffontenelle commented Jun 19, 2023

Copy link
Copy Markdown
Contributor

Confirmed it is working. It successfully adds "resource_name" field to each resource entry and pushing to Transifex sends the expected resource name. Thanks for that!

Can you also add a Feature entry to CHANGES file?

@jpmckinney

Copy link
Copy Markdown
Contributor Author

I've added an entry :)

@jpmckinney

Copy link
Copy Markdown
Contributor Author

Is there anything blocking a merge?

@AA-Turner

Copy link
Copy Markdown
Member

@jpmckinney tests failed on master, please could you provide a fix? Otherwise we'll need to revert.

A

@jpmckinney

Copy link
Copy Markdown
Contributor Author

I'll look into it!

@jpmckinney

Copy link
Copy Markdown
Contributor Author

I'm unable to reproduce and I installed the same versions of packages as listed by pip freeze in the workflow.

@jpmckinney

jpmckinney commented Oct 5, 2023

Copy link
Copy Markdown
Contributor Author

Aha, something changed in tx between 1.6.7 and 1.6.10. Looks like failures start with 1.6.8.

@jpmckinney

Copy link
Copy Markdown
Contributor Author

Okay, tx just changed the whitespace alignment: #96

@jpmckinney jpmckinney mentioned this pull request Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transifex's tx client seems to have changed behavior for resource naming

4 participants