-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to get dependency among projects #26
Comments
You are also confused about the Def vs Pkg usage. Def means the packages is implemented there, so the associated repo is potentially the "master" repo. c2PtAbflPkgFullUX.s is a much bigger file that specifies dependencies: so the repo-package pair here is the depends relationship, while in c2PtAbflDefFullUX.s it represents "implements" relationship. Joining both by package name transfers dependency relationship to repos. Finally, at this stage, you probably don't care about individual files and times of commits, so aggregates Finally, the syntax of the way packages are defined and dependencies are specified varies with language and are not always identical in define and depend form. As such the join of {Def,Pkg}2PFullU.s needs to be done based on that language-specific understanding. |
Hi Audris:
Is that correct? |
Note that dependency is language specific, it could be file/package, etc. Same with Def, so match needs to also be language-specific. Also, only c++ has namspaces, but plain c does not. Hence c does not have entries in Def. |
Hi Audris: |
a) What needs to be done depends on the language. |
Got it. |
See my previous comment
|
Hi Audris: Also I indeed need the earliest time of dependency (I want to know when does the dependency is built), is there a way I can get that? |
Right, Cs stands for c#. Why exactly do you need commits? My suggestions is to start with getting all dependencies properly then worry about the first time it is introduced. |
Hi Audris: |
|
@fhbzc Could you please verify if this stands as a current issue? If not, please resolve at your convenience. |
Hi Audris:
I'm trying to get the dependency among projects.
My current approach is
1. get the commits of a given project with P2c
2. get the packages those commits rely on with c2PtAbflDefFullUX.s
However, the second steps give me package names, not project names (e.g. tensorflow instead of tensorflow_tensorflow), is there a way I can find the corresponding project name based on the package name?
Thank you
The text was updated successfully, but these errors were encountered: