Skip to content
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

modules: un-modulify libsignalgo and signalmeow #399

Merged
merged 2 commits into from
Dec 30, 2023
Merged

Conversation

sumnerevans
Copy link
Member

@sumnerevans sumnerevans commented Dec 27, 2023

I don't see any reason why they should have their own go.mod. I think
this is legacy from when I had them in separate repositories.

If we ever need to split those packages out into their own repo, we can
just:

  1. Copy the directories to a new repo
  2. Copy the go.mod/go.sum files
  3. Run go mod tidy in this repo and the new repo.

This commit also removes the go.work and go.work.sum files.

Signed-off-by: Sumner Evans [email protected]

Closes #398

@sumnerevans sumnerevans marked this pull request as draft December 27, 2023 03:26
Copy link
Member

@tulir tulir left a comment

Choose a reason for hiding this comment

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

The reason was to allow cleaner use of signalmeow from other things, but go workspaces are somewhat annoying (tidy breaks as mentioned), so maybe this is better for now

@tulir
Copy link
Member

tulir commented Dec 27, 2023

Oh right, this will break tests in CI because libsignalgo has a broken test right now. Also need to merge the two steps in actions (adding -ldflags "-extldflags -lm" to the "Run bridge tests" entry and removing "Run libsignalgo tests")

@tulir
Copy link
Member

tulir commented Dec 28, 2023

175fde6 should fix some of the broken tests, but TestSessionCipherWithBadStore and TestSealedSenderSession are still broken

sumnerevans and others added 2 commits December 29, 2023 18:33
I don't see any reason why they should have their own go.mod. I think
this is legacy from when I had them in separate repositories.

If we ever need to split those packages out into their own repo, we can
just:

1. Copy the directories to a new repo
2. Copy the go.mod/go.sum files
3. Run `go mod tidy` in this repo and the new repo.

This commit also removes the go.work and go.work.sum files.

Signed-off-by: Sumner Evans <[email protected]>
@sumnerevans sumnerevans marked this pull request as ready for review December 30, 2023 01:36
@sumnerevans sumnerevans merged commit 6abe80e into main Dec 30, 2023
8 of 12 checks passed
@sumnerevans sumnerevans deleted the fix-go-mod-tidy branch December 30, 2023 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

go mod tidy fails
2 participants