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.

Make catalog file line number references optional

See original GitHub issue

Problem description Having line numbers in catalog files creates a lot of merge conflicts in a GitFlow-ish workflow when multiple developers are working on the same codebase. The same conflicts happen in each language catalog file and each one must be manually merged twice: first when merging feature branches to develop, and once more when merging to master.

Preferred solution There should be an option to turn off the line numbers from catalog output.

Alternatives considered This could be accomplished by using the minimal format, but it would also strip the obsolete info, which is needed for development. The PO format also includes line numbers, so it would create the same amount of conflicts.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
tricoder42commented, Dec 2, 2019

It has just been released in 2.9.0.

1reaction
tricoder42commented, Oct 1, 2020

@joshhunt Not yet, but it’s available in v3 (pre-release). It’s not documented (yet), but I’ve definitely merged it https://github.com/lingui/js-lingui/blob/next/packages/conf/src/index.ts#L58

Read more comments on GitHub >

github_iconTop Results From Across the Web

MakeCat - Win32 apps - Microsoft Learn
The MakeCat tool is a CryptoAPI tool that creates a catalog file. MakeCat is available as part of the Microsoft Windows Software Development ......
Read more >
Reference - Catalog - Meta for Developers - Facebook
The following table defines the fields used to create a catalog, including the requirement level (required vs. optional). For best practice column-naming ...
Read more >
Catalog format reference - Evonik Industries
For each item in a static catalog, simply create a line entry with the desired ... is a catalog item without an explicit...
Read more >
CREATE FILE FORMAT - Snowflake Documentation
The documents can be comma-separated (and optionally enclosed in a big array). A single JSON document may span multiple lines. Note: When loading...
Read more >
GNU make
GNU make has no limit on the length of a statement line, ... you can specify the makefile name with the ' -f...
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