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.

Get name of current affected app

See original GitHub issue

Discussed in https://github.com/nrwl/nx/discussions/12352

<div type='discussions-op-text'>

Originally posted by dan-cooke September 30, 2022 I want to tag a docker image using nx affected --target=docker --tags=myrepo.io/{APP}

How can I get the current APP being executed by nx affected. I swore lerna had something for this, but I can’t quite find it.

Any ideas?</div>

Creating an issue because I really don’t see any way of achieving this without creating a custom docker executor, which seems wasteful as there already exists a great community executor.

It would be useful for performing dynamic commands based on the name of the currently affected app

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
AgentEndercommented, Oct 4, 2022

This seems simple enough, we could add NX_PROJECT_NAME as an env variable in the forked process for each executor pretty easily I think ™️…

1reaction
minijuscommented, Sep 30, 2022

Implementation of custom executor docker could use executorContext to get project name.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get the name of the application in android?
You can use PackageItemInfo -> nonLocalizedLabel to get application name. val applicationName = context.applicationInfo.nonLocalizedLabel.toString() ...
Read more >
Manage app info from your devices - Android - Google Support
Under "Google-wide controls," tap App info from your devices. Turn on App info from your devices. Note: This setting does not affect the...
Read more >
Name or change the name of your application
Creating an alias for the app name only changes how the app name appears in the New Relic UI. Changing the alias does...
Read more >
Your iOS App Name Also Affects App Engagement
Learn how your iOS app name can influence the amount of engagement that your app gets. This in turn can affect your App...
Read more >
Behavior changes: Apps targeting Android 13 or higher
Learn about changes in Android 13 that will affect apps when they target Android 13 or higher.
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