-
Notifications
You must be signed in to change notification settings - Fork 20
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
Analysis jailhouse repo with PaSta #42
Comments
Generally, for development that's an excellent idea to work on small datasets. The problem is, we lack public inboxes from Jailhouse. I could give you my local mbox, but it's easier for you to choose Linux. Choose Linux, edit the config in resources/linux/config and simply deactivate all huge lists. Just leave one small list activated. Let's say the alsa mailing list. Then, choose a timewindow of one month, and reduce the amount of commits to roughly the same month. This makes things manageable on a desktop machine. |
This does help. I was succesfully able to run Also as a side: |
Ok, we can fix that. Try in your config: and only activate the alsa-devel ML. Thanks |
Hmm in that case I guess I should also set the date filter such that it sort of overlaps the commit range specified in Oh I notice you have already mentioned this in your comment. Nevermind. |
Yep, exactly, see at the UPSTREAM range above. That roughly matches. Should be sufficient for playing around with PaStA. |
Hmm, the given commit range and date filter did give me some output. But couldn't get any mappings between patches and commits. Need to play around with the above 2 parameters I guess. |
Did not give you any mappings? That's strange. I had this configuration at a democase today, and we saw at least some (i guess it was 70 or so) mappings. Did you recreate the caches? $ ./pasta sync -clear all |
Ah, another tip: Maybe you're running on a too old state of the resources. |
This was taking an immense amount of time for me over a choppy network so I instead decided to use a local linux repo clone . That shouldn't be an issue I guess? |
This didn't help, |
No, that should not be a problem. so you did run, in this order:
|
Submodules are only used to have everything tied together. You can use local checkouts as well. |
Yup the same order. |
Okay that's really strange. Please find my config here: http://vmexit.de/~ralf/config Try to delete all caches (e.g.: rm resources/linux/resources/*pkl rm resources/linux/mbox-result), copy over the config and try: $ pasta sync -mbox -create all Here on my machine, this gives me 84 mappings against upstream with default thresholds in that time window. |
Will try this right now. Thanks for being so patient |
Got some mappings now!! ✨ One thing I noticed was when I deleted the This makes me wonder whether on rerunning analysis on a mailbox do we append to the mbox-result file instead of rewriting it? |
Aah, I might know what went wrong: Initially, mbox-result gets created when running the first time 'analyse rep'. This is the basis for all further analyses. Commits are added when 'analyse succ' is started. So if you change the config, but you leave the old mbox-result, mails that aren't reachable any longer. I would have to look at the code what happens in that case. The best thing is to start with a clean mbox-result after committing changes to the config. |
You mean
We could add a flag to clean mbox-result instead of doing so manually. |
Yes, sorry, mixed it up.
Hmm. I'd rather abort in that case and ask the user for manual intervention. But wait, we actually already do: https://github.com/lfd/PaStA/blob/master/bin/pasta_analyse.py#L190 Did you see that warning during your analysis? |
I wanted to analyse the jailhouse repo as it is much smaller than the other repos.
I was getting stuck at some places so needed some help in getting the setup done.
What I have done till now:
./pasta select jailhouse
./pasta sync
The above two commands run successfully.
My next step was to run
./pasta sync -mbox
The output of this command is as follows:
However I think I havent set up my mbox properly. Can someone guide me with this?
Thanks!
The text was updated successfully, but these errors were encountered: