Skip to content

Comments

Vindarel/legit common less packages better separation#1445

Merged
vindarel merged 2 commits intolem-project:mainfrom
vindarel:vindarel/legit-common-less-packages-better-separation
Jul 17, 2024
Merged

Vindarel/legit common less packages better separation#1445
vindarel merged 2 commits intolem-project:mainfrom
vindarel:vindarel/legit-common-less-packages-better-separation

Conversation

@vindarel
Copy link
Collaborator

with-porcelain-error and with-current-project belong to lem/legit to avoid tight coupling between the porcelain package and Lem, which is very important to me for both ease of development and better engineering (porcelain being independent could be used elsewhere, who knows). Actually the previous commit re-introduced the tight coupling, so here we are back to normal.

We add them to a file common to peek-legit and legit.

We also delete the peek-legit package to simplify everything, as peek-legit and legit were very tightly coupled anyways. This simplifies calling symbols from one package or another and it removes the need of dealing with so many exports.

vindarel added 2 commits July 17, 2024 14:02
with-porcelain-error and with-current-project belong to lem/legit
to avoid tight coupling between the porcelain package and Lem.

We add them to a file common to peek-legit and legit.

We also delete the peek-legit package to simplify everything.
@vindarel vindarel requested a review from cxxxr July 17, 2024 12:10
Copy link
Member

@cxxxr cxxxr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's good.

@cxxxr cxxxr self-requested a review July 17, 2024 12:27
@vindarel vindarel merged commit c41f6d2 into lem-project:main Jul 17, 2024
@vindarel vindarel deleted the vindarel/legit-common-less-packages-better-separation branch July 17, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants