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.

Document how to add a list of values to the config file

See original GitHub issue

Related to #7803 (Splitting into 2 as suggested by @pradyunsg)

It would be helpful to document how to add a “list” of values to a section in the ini file. This helps generalize the problem defined in the aforementioned issue.

This helps readers learn how to add multiple links to find-links as already documented in the user guide, but also to apply this knowledge into other areas.

Perhaps it would fit as a “protip” sort of section for the config. For example:


It is possible to **append** values to a section within an ini file such as the pip.ini file.

.. code:: ini
    
    [install]
    find-links =
        http://mirror1.example.com
        http://mirror2.example.com

This enables users to add additional values in the order of entry.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
uranusjrcommented, Feb 28, 2020

I’ll go ahead and label as awaiting PR 😃

0reactions
xavfernandezcommented, Mar 28, 2020

Closed by #7918

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add lists to config files
The MPF config files are in a YAML format, so you add list items by following the YAML spec, but it can be...
Read more >
python - Lists in ConfigParser - Stack Overflow
I am using a combination of ConfigParser and JSON: [Foo] fibs: [1,1,2,3,5,8,13]. just read it with: >>> json.loads(config.get("Foo","fibs")) [1, 1, 2, 3, 5, ......
Read more >
Store custom information from a configuration file - C#
On the Project menu, select Add Reference. · In the Add Reference dialog box, select the .NET tab. · Find and select the...
Read more >
git-config Documentation - Git
Multiple lines can be added to an option by using the --add option. ... List all variables set in config file, along with...
Read more >
Configuration Files Details | Notepad++ User Manual
If you want to add a custom function list definition or theme to your user-config folder in the %AppData%\Notepad++ (or equivalent) hierarchy, ...
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