Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting metadata of packages and modules installed by gem and npm language package managers #609

Closed
abhaykatheria opened this issue Mar 26, 2020 · 3 comments
Labels
feature new feature
Milestone

Comments

@abhaykatheria
Copy link
Contributor

Problem Statement
Currently, Tern does not lists the metadata of packages and modules installed by language-level package managers like pip(#149), npm, yarn, gem, and golang.

Describe the Proposal
After this Tern should be able to list all the packages and modules installed via the above-mentioned package managers with their proper metadata.

Steps to Implement Proposal
Tern already supports adding snippets to the command library. For each language level package management system we would need to add the required scripts in snippets.yml.
as mentioned here

@ForgetMe17
Copy link
Contributor

Hi @abhaykatheria, are you currently working on this proposal?

@abhaykatheria
Copy link
Contributor Author

@ForgetMe17 yes.

@nishakm nishakm added the feature new feature label Mar 27, 2020
@nishakm nishakm added this to the Near Future milestone Apr 21, 2020
rnjudge pushed a commit to rnjudge/tern that referenced this issue Apr 24, 2020
This commit adds commands to base.yml to collect gem packages,
versions, licenses and proj_url information using the gem language
package manager.

When the gem package manager does not have license or homepage
information for a package, it renders as a blank line. Since Tern
requires the number of packages to be the same number of elements as the
list of licenses, we print 'Unknown' as the license or homepage instead
of an empty license or proj_url value.

Works towards tern-tools#609.

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhaykatheria <[email protected]>
rnjudge pushed a commit to rnjudge/tern that referenced this issue Apr 24, 2020
This commit adds commands to base.yml to collect gem packages,
versions, licenses and proj_url information using the gem language
package manager.

When the gem package manager does not have license or homepage
information for a package, it renders as a blank line. Since Tern
requires the number of packages to be the same number of elements as the
list of licenses, we print 'Unknown' as the license or homepage instead
of an empty license or proj_url value.

Works towards tern-tools#609.

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhaykatheria <[email protected]>
nishakm pushed a commit that referenced this issue Apr 27, 2020
This commit adds commands to base.yml to collect gem packages,
versions, licenses and proj_url information using the gem language
package manager.

When the gem package manager does not have license or homepage
information for a package, it renders as a blank line. Since Tern
requires the number of packages to be the same number of elements as the
list of licenses, we print 'Unknown' as the license or homepage instead
of an empty license or proj_url value.

Works towards #609.

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhaykatheria <[email protected]>
rnjudge added a commit to rnjudge/tern that referenced this issue Apr 30, 2020
This PR adds scripts in command_lib/base.yml and snippets.yml
to list the packages installed by npm and yarn.

Works towards tern-tools#609

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhay <[email protected]>
rnjudge added a commit to rnjudge/tern that referenced this issue May 5, 2020
This PR adds scripts in command_lib/base.yml and snippets.yml
to list the packages installed by npm and yarn.

Works towards tern-tools#609

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhay <[email protected]>
Signed-off-by: Nisha K <[email protected]>
nishakm pushed a commit that referenced this issue May 20, 2020
This PR adds scripts in command_lib/base.yml and snippets.yml
to list the packages installed by npm and yarn.

Works towards #609

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhay <[email protected]>
Signed-off-by: Nisha K <[email protected]>
@rnjudge
Copy link
Contributor

rnjudge commented May 20, 2020

Since we have gem, npm and pip package managers available, I am going to open an issue specifically for collecting golang packages.

@rnjudge rnjudge closed this as completed May 20, 2020
@rnjudge rnjudge changed the title Extracting metadata of packages and modules installed by language package managers Extracting metadata of packages and modules installed by gem and npm language package managers May 20, 2020
@rnjudge rnjudge modified the milestones: Near Future, Release 2.1.0 May 20, 2020
rnjudge pushed a commit to rnjudge/tern that referenced this issue Jun 5, 2020
This commit adds commands to base.yml to collect gem packages,
versions, licenses and proj_url information using the gem language
package manager.

When the gem package manager does not have license or homepage
information for a package, it renders as a blank line. Since Tern
requires the number of packages to be the same number of elements as the
list of licenses, we print 'Unknown' as the license or homepage instead
of an empty license or proj_url value.

Works towards tern-tools#609.

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhaykatheria <[email protected]>
rnjudge added a commit to rnjudge/tern that referenced this issue Jun 5, 2020
This PR adds scripts in command_lib/base.yml and snippets.yml
to list the packages installed by npm and yarn.

Works towards tern-tools#609

Signed-off-by: Rose Judge <[email protected]>
Signed-off-by: abhay <[email protected]>
Signed-off-by: Nisha K <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

No branches or pull requests

4 participants