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
Quick Start Questions #44
Comments
I finished a course on SW Architecture and the professor briefly mentioned DSMs and the proprietary Lattix tooling, but didn't go into depth. I've read a few whitepapers/blogs and now want to try using DSMs with my personal and later work projects I found your response in pawamoy/dependenpy#47 (comment) which answers some of my followup questions
|
In summary, I think there are some ways that the documentation could be improved for new users:
I would be happy to submit a PR with documentation updates. Let me know if there is anything I should know before starting edits in a fork |
Hello @KyleKing! Thank you for your patience (it's been two weeks since you opened this issue)! And thank you for your interest in archan/dependenpy/django-meerkat! I'm sorry you had troubles getting started with archan, and I'm glad you were able to make it work. I am absolutely favorable to Pull Requests to improve the documentation! This would be really, really appreciated 🙂 If you send one, and after it's merged, I can push a new version on PyPI of course. About archan-pylint: if you're interested in this plugin, I can give you ownership or add you as a collaborator 🙂 To conclude, I'm open to any suggestion or improvement you'd like to submit! |
Thanks! I'll try to open a PR when I have some time this weekend. I'm wrapping up some changes to migrate to |
I started making a few minor documentation changes (master...KyleKing:fix/44), but ran into an error: ❯ archan --no-config --input pytest_dsm.csv
error archan.config:60: Error while inflating "archan.CSVInput" analysis group. The group will not be added to the list. Exception: <class 'tuple'> type is not supported for a plugin list, use list or dict.
❯ dependenpy pytest --format=csv | archan --no-config
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/kyleking/Developer/Pull_Requests/archan/src/archan/cli.py", line 158, in main
config = Config.default_config(file_path)
File "/Users/kyleking/Developer/Pull_Requests/archan/src/archan/config.py", line 141, in default_config
return Config(
File "/Users/kyleking/Developer/Pull_Requests/archan/src/archan/config.py", line 46, in __init__
self.config_dict = deepcopy(config_dict)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 146, in deepcopy
y = copier(x, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 146, in deepcopy
y = copier(x, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 146, in deepcopy
y = copier(x, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 146, in deepcopy
y = copier(x, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/copy.py", line 161, in deepcopy
rv = reductor(4)
TypeError: cannot pickle '_io.TextIOWrapper' object
|
The default config contains |
I have had this on my list in awhile and I finally had some time to catch up on open source contributions today. I think I fixed the issue with sys.stdin and deepcopy (7c42f28) I had trouble running the tests locally because invoke wasn't using my conda configuration, but figured I could also let the PR run the tasks. I'll revisit and make sure everything is passing |
I started asking a question, then mostly answered it. This is the condensed version number ~5. Essentially I just ran into a bunch of issues understanding how
archan
works and how to apply it to my project. I think my below notes might be helpful to others and could be optionally integrated to the READMEWould you consider reordering the example commands? I think creating the CSV with
dependenpy
might be the most common use case and would be helpful if listed first. I wasn't sure where the CSV files were coming from until I dug furtherI created a modified version of the archan config, but I had to comment out the names to prevent skipping the steps:
Installed the dependencies and ran
archan
On a side-note, can you publish a new wheel to PyPi? The current one has a typo bug for
.ingo
and some API differences (notably analyzers vs. analysis)The text was updated successfully, but these errors were encountered: