Closed ShubhamPandey28 closed 4 months ago
Yeah, I believe that this step is problematic with low bandwidth.
Try to only clone the alsa-devel public inbox. If you choose the alsa-minconfig branch, then the repository (resources/linux/repo) and the inbox (resources/linux/resources/mbox/pubin/alsa-project.org/alsa-devel/0.git) should be sufficient.
Hope that helps.
There is no subcommand as select
in ./pasta -h
.
(lfd-pasta) dark_matter@DarkMatter ~/l/l/PaStA (master)> ./pasta -h
2020-07-20 13:27:05,420 PaStA INFO Cmdline: ./pasta -h
PaStA - The Patch Stack Analysis (PaStA 0.3)
usage: ./pasta [-d] [-c project_name] sub [-h|--help]
where sub is one of:
analyse
check_connectivity
check_mbox
compare
form_patchwork_relations
maintainers_stats
optimise_cluster
prepare_evaluation
rate
sync
set_config
show_cluster
statistics
compare_stacks
compare_clusters
patch_descriptions
ripup
upstream_history
web
If -c is not provided, PaStA will choose ./config as config file
Copyright (c) OTH Regensburg, 2016-2017
Licensed under GPLv2 (See COPYING)
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ralf Ramsauer.
Also although I can see it initiated in this line, ./pasta sync -mbox
prompts the below error:
(lfd-pasta) dark_matter@DarkMatter ~/l/l/PaStA (master) [1]> ./pasta sync -mbox
2020-07-20 11:57:19,928 PaStA INFO Cmdline: ./pasta sync -mbox
2020-07-20 11:57:19,929 pypasta.Config INFO Loading configuration: linux
2020-07-20 11:57:20,046 Repository.Mbox INFO Loading mailbox subsystem
2020-07-20 11:57:27,277 Repository.Mbox INFO ↪ loaded invalid mail index: found 5469124 invalid mails
2020-07-20 11:57:27,277 Repository.Mbox INFO Loading public inboxes
2020-07-20 11:57:32,263 Repository.Mbox INFO ↪ loaded mail index for alsa-devel@alsa-project.org (shard 0): found 214516 mails
2020-07-20 11:57:34,218 pypasta.Config INFO Renewing upstream commit hash file
2020-07-20 11:57:36,109 pypasta.Config INFO ↪ done
2020-07-20 11:57:36,123 Repository.Mbox INFO Update list alsa-devel@alsa-project.org
2020-07-20 11:57:40,098 Repository.Mbox INFO Updating 1 emails
2020-07-20 11:57:40,100 Repository.Mbox WARNING Unable to parse Message ID:
2020-07-20 11:57:41,616 Repository.Mbox INFO Loading mailbox subsystem
2020-07-20 11:57:48,804 Repository.Mbox INFO ↪ loaded invalid mail index: found 5469124 invalid mails
2020-07-20 11:57:48,804 Repository.Mbox INFO Loading public inboxes
2020-07-20 11:57:53,278 Repository.Mbox INFO ↪ loaded mail index for alsa-devel@alsa-project.org (shard 0): found 214516 mails
2020-07-20 11:57:54,703 tory.Repository INFO Loading upstream commit cache
2020-07-20 11:58:06,093 tory.Repository INFO ↪ Loaded 42358 commits from cache file
2020-07-20 11:58:06,138 tory.Repository INFO Evicting 0 commits from cache
2020-07-20 11:58:08,609 tory.Repository INFO Loading mbox commit cache
2020-07-20 11:58:09,041 tory.Repository INFO ↪ Loaded 4649 commits from cache file
2020-07-20 11:58:09,044 tory.Repository INFO Evicting 0 commits from cache
Traceback (most recent call last):
File "./pasta", line 193, in <module>
ret = main(deepcopy(sys.argv))
File "./pasta", line 180, in main
return sync(config, argv)
File "/home/dark_matter/linux_work/lfd-pasta/PaStA/bin/pasta_sync.py", line 105, in sync
repo.mbox.threads.update()
File "/home/dark_matter/linux_work/lfd-pasta/PaStA/pypasta/Repository/MailThread.py", line 71, in update
log.info('Updating mail thread cache', self.reply_to_dict)
AttributeError: 'MailThread' object has no attribute 'reply_to_dict'
Hi,
select was replaced by set_config. Forgot to update the Readme. For the second error: We changed the format of the MailThread class. You have to delete your pickle caches before: rm resources/linux/resources/*.pkl
Thanks
@rralf Can I open a PR on these issues?
Yes, sure, patches welcome! :+1:
Hi,
select was replaced by set_config. Forgot to update the Readme. For the second error: We changed the format of the MailThread class. You have to delete your pickle caches before: rm resources/linux/resources/*.pkl
Thanks
What was the cause of second error? because as I cloned and synced, did some operations and synced again it went fine and didn't result in any error.
It has been 2 days since I ran
git -C resources submodule update
and it has not been completed yet. I have installed the gnutls and also tried rebuilding git with openssl before but nothing seems to work for me. My internet speed is around 700 kb/s. When I checked the amount of data in resources is only 1.6 GB. What should I do now? I have used alsa-minconfig to update it.Here is the whole cloning happened in 2 days.