question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[3.7.8] Problems with source files that have dot at the begin

See original GitHub issue

Describe the bug source parameter does not see a file exists, if a file has double extension

To Reproduce Steps to reproduce the behavior:

  1. Configuration file:
project_id: <hidden>
api_token: <hidden>
base_path : ".."
base_url : "https://api.crowdin.com"
preserve_hierarchy: true

files: [
  {
    source: "/**/.english.php",
    translation: "%original_path%/.%language%.php"
  }
]

  1. Execute CLI command:
crowdin upload sources --dryrun --config .github/crowdin.yml
  1. Result:
[OK] Fetching project info

Expected behavior I would like to see this result:

[OK] Fetching project info
[OK] File '.english.php'

Environment:

  • OS: Windows 11 x64
  • Version 21H2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dragomanocommented, Mar 7, 2022

Thanks, it solves the problem.

1reaction
andrii-bodnarcommented, Mar 7, 2022

Hi @dragomano, @flxw!

Please try to add the following configuration to your crowdin.yml config file:

settings: {
    "ignore_hidden_files": false
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

files/dirs that start with a dot (.) do not get copied or transpiled ...
if I build this project with tsc and use the outDir option, the .suman directory won't get moved/transpiled, presumably because it starts ......
Read more >
Hazelcast 3.7.8 Reference Manual
Hazelcast Reference Manual explains all in-memory data grid features provided by Hazelcast in detail with code samples and configuration ...
Read more >
Creating and Executing your First Python Script (Run .py file)
We an write Python scripts in text files with the suffix .py. First you need to save python codes in hello.py file ?...
Read more >
CVE-2022-42919 - NVD
This vulnerability has been modified and is currently undergoing ... was added as a bugfix in 3.7.8 and 3.8.3, but users would need...
Read more >
flake8 Documentation - Read the Docs
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist max-complexity = 10 ... an error code to get all that start with that string.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found