You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a CLI option to check for discrepancies between mxdev.ini branches and what is actually running. #44
The best practice is probably to only change branches through changing the mxdev.ini settings, but in the real world they may differ because mxdev can't stop you from just running git commands. I have my own CLI that does something like this to check for discrepancies using pygit2:
(venv) PS C:\Users\wohnlice\PycharmProjects\Plone6> imsplone branches -c .\mxdev.ini
ims.contacts: `fake` differs from setting: `master`
ims.opensearch: `development` differs from setting: `master`
ims.portals.prevent: `plone6` differs from setting: `master`
WARNING: `ims.upload` is not found in this config file!
ims.users: `i70385` differs from setting: `master`
WARNING: `plone.documentation` is not found in this config file!
WARNING: `plone.squish` is not found in this config file!
If you think this would be useful I can put in a PR to run this if some flag is passed.
Hi, to me this sounds good. maybe adding a command like mxdev status which might contain other useful information as well can be helpful. @jensens what do you think?
Is it possible to have more than one target path (e.g. "sources" dir) defined and are you allowed to have untracked packages in there? If so I guess it wouldn't be possible to find packages that aren't in your mx.ini but perhaps should be.
Activity
rnixx commentedon Mar 19, 2024
Hi, to me this sounds good. maybe adding a command like
mxdev statuswhich might contain other useful information as well can be helpful. @jensens what do you think?jensens commentedon Mar 19, 2024
@rnixx sounds useful.
ewohnlich commentedon Mar 20, 2024
Is it possible to have more than one target path (e.g. "sources" dir) defined and are you allowed to have untracked packages in there? If so I guess it wouldn't be possible to find packages that aren't in your mx.ini but perhaps should be.
jensens commentedon Mar 20, 2024
it should be restricted to vcs folders handled by mx.ini. Otherwise we exceed the scope of mxdev.