Details
Hi, I'm newbie in Phabricator and I hope you can help me with a doubt.
After search across the documentation I have not found yet the meaning or purpose of each databases and tables used by Phabricator.
The reason for this is that I am looking for if one of these database/tables are used by Diffusion to store the source code.
Thanks in advance!
Event Timeline
Hello chad,
I want to extract the same information we can obtain thought git/svn logs but from the databases that Phabricator used.
I am insterested in obtain the commit information (project, user, commit metadata) but avoid if it is possible the source code. (I don´t know if the source code is store on some table)
After have a look to the list of database I think the followings are directly related with the commit process: phabricator_repository, phabricator_user, phabricator_project. But I have not found If these databases stores the source code involve on each commit.
Thanks in advance!
Sorry, maybe I didn't explain that very well. I already understand you want the data, I don't understand why you want that data. The upstream isn't going to get into database nitty gritty without a Phacility Consulting contract ($1500 / hr if you're interested), but perhaps if you let us understand what problem you're trying to solve, we can give you pointers as to the best approach (APIs?)
The reason why I want that data is not relevant. The question in brief is the following the source code versioned by the repositories hosted in Phabricator are held in the data base?
Sorry if I am being a little rude, my english is not very good.
Thanks in advance!
If you really want to muck around in Phabricator's databases, you could probably get at the information you mentioned with something similar to
{P1982}
(Zero promises that is not bad and wrong and inaccurate.)
But like Chad said, without knowing the use case, we don't know if there are easier ways (Conduit API) to surface the information you want.
The use case is take all of that info as ETL input, but I what to be sure that I am not retrieveing source code from the tables as a matter of performance in addition to I am not interested in it.
What do you think is the best way to do that?
Thanks in advance!
Source code isn't (AFAIK) stored in Phabricator's databases; it only lives at /var/repo/ and whatever other URIs you're mirroring/observing in Diffusion. But again, if you're just looking for commit-level metadata, using Conduit will probably be easier.