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.

Load group_data/all.py for @local

See original GitHub issue

Is your feature request related to a problem? Please describe

I use @local to quickly develop tasks before running them on servers. Many of these tasks reference host.data which is normally unavailable on @local. It would make task writing more consistent and convenient to at least load group_data/all.py.

Describe the solution you’d like

Load group_data/all.py when invoking pyinfra on @local

Thanks!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
gnatcommented, May 15, 2021

Working! Great work @Fizzadar !!

1reaction
Fizzadarcommented, May 15, 2021

I’ve now reworked the deploy directory detection in https://github.com/Fizzadar/pyinfra/commit/966a6c2cb434a7af4e318a068e2a28e527a231f7, which handles any levels of nesting as described, as well as being clearer about how this works. Released just now in v1.4.1!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Python packages from local file system folder to ...
Now in a virtual environment I would like to install packages either coming from pypi or from the specific local location /srv/pkg ....
Read more >
Making a Python Package VI - including data files
This post is part 6 of the "Making a Python Package" series: ... To get it locally, and assuming you cloned the previous...
Read more >
rpasce-190-oat.pdf
Local domains are typically organized, or partitioned, along organizational structures that reflect user roles and responsibilities.
Read more >
The Wound Microenvironment Reprograms Schwann Cells to ...
β-actin is used as a loading control. (B) Western blot analysis of p-EphB2 and total EphB2 levels in rat SCs treated with Scr...
Read more >
REAl.llY
increase in number, the load on the CPU becomes overwhelming and conse- quently the response to the terminals degrades dramatically.
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