Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

extend APPSODY_IGNORE_DIRS to also include files #36

Open
kewegner opened this issue Sep 20, 2019 · 2 comments
Open

extend APPSODY_IGNORE_DIRS to also include files #36

kewegner opened this issue Sep 20, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@kewegner
Copy link
Collaborator

Currently the APPSODY_IGNORE_DIRS allows specifying the full path to a file, but the name of the variable, and documentation does not state this.

@kewegner
Copy link
Collaborator Author

I think the question here is should we rename (via deprecation) the environment variable to APPSODY_IGNORE_PATHS @neeraj-laad do you have an opinion?

@kewegner
Copy link
Collaborator Author

kewegner commented Dec 3, 2019

I think what we need to do is something like this:

  1. Document the new variable APPSODY_IGNORE_PATHS

//tmpWATCHIGNOREDIR is set first

appsodyIgnorePaths = os.Getenv("APPSODY_IGNORE_PATHS")
if appsodyIgnorePaths != "" {
tmpWATCHIGNOREDIR=appsodyIgnorePaths
}

So if both are available appsodyIgnorePaths wins.

@kewegner kewegner added the enhancement New feature or request label Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant