ManderaGeneral / generalpackager

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for ManderaGeneral for now.
https://pypi.org/project/generalpackager/
Apache License 2.0
0 stars 0 forks source link

Method for clean new folder with general packages #17

Closed Mandera closed 1 year ago

Mandera commented 1 year ago

It looks like PyCharm might be able to have multiple repos open in one project

Mandera commented 1 year ago
Mandera commented 1 year ago

Failing to read pyvenv.cfg with Path.cfg which made me realize I'm not too familiar with all the different configuration formats so I want to research and make an answer on https://stackoverflow.com/questions/3085029/pros-and-cons-for-different-configuration-formats

Mandera commented 1 year ago

Ok. Opened up all repos as one project in PyCharm, it's interesting. Updating project didn't take too long. I should include active repos here, or maybe I can just hide the inactive ones. I wonder if I can setup the interpreter automatically. Have a vague memory I tried that when I tinkered with the PyCharm api

Mandera commented 1 year ago

genvector is being considered a folder instead of a "method", whatever that means, not sure if there's any consequence from this but it seems the cause is that there's no subfolder with the genvector name image

Mandera commented 1 year ago

Very nice. Will take some getting used to. Pushing to two repos at once will trigger two simultaneous actions of course. Might not be ideal. Remember I was worried about that years ago

Mandera commented 1 year ago

image

Looks like this now, very clean, had to change to Project Files

Mandera commented 1 year ago

Created #61 for the workflow stuff

Mandera commented 1 year ago

Had to do a lot of PyCharm config manually, that's why I started the PyCharm API idea, if I decide to pick it back up go here

Mandera commented 1 year ago

Found scopes in PyCharm which means I don't have to manually exclude folders, really neat!

(file[repos]:generalfile//*
file[repos]:generalimport//*
file[repos]:generallibrary//*
file[repos]:generalpackager//*
file[repos]:generalvector//*)&&!file[repos]:*.egg-info//*&&!file[repos]:*.github//*&&!file[repos]:*LICENSE&&!file[repos]:*MANIFEST.in&&!file[repos]:*setup.py&&!file[repos]:*README.md&&!file[repos]:*test//*