g'day, again... months have passed and I still did...
# maintainers
m
g'day, again... months have passed and I still didn't do what I offered to do. Now that the PactSwift drifted past breaking changes in
libpact_ffi
more than a couple of people are willing to contribute. But, I still don't have much time on my hands. So, I promised to move PactSwift and related repos to
pact-foundation
org... I think it's time we start doing that. I'll need help/access to the repos I need to push shallow clone up. Why? Because the history is waaaaaay too big to drag around. We could just transfer ownershipt, but I don't think you want 4GB of history because... `bin`s
👋 1
r
Sir! Long time!
👋 1
I can create a new repo for you and give you access, if that is what you are asking. You can then add it as a remote and push the commits you want
m
L-O yeah, that was what I was thinking might be best so whoever starts using
pact-foundation/PactSwif
doesn't have to download 4GB repo for 15Kb of actual usable code. I'll prep a list of the few repos I need to have everything work in orchestration.
😬 1
I'll give you a list and short reason why it needs to be across multiple repos.
👍 1
Need the following three repos: 1.
pact-foundation/pact-swift
The main public-facing library, Swift DSL for consumer contract generation + provider verification 2.
pact-foundation/pact-swift-mock-server
Swift wrapper over
libpact_ffi
, scripts that build the XCFramework. 3.
pact-foundation/pact-swift-xcframework
Shallow binary distribution repo. It's a thin manifest +
binaryTarget.a
pointing at release-hosted
.xcframework.zip
. When creating XCFramework, compiler drops heaps of bloat (iirc about 60%) that each of the binaries (for iOS Simulator, device and darwin) each carry. Plus, SPM can pull in and handle a .zip too! Having
PactSwiftXCFramework
to only point to hosted `.zip`ed binary should avoid committing huge files/packages into git history and bloating up the repo. This was the biggest issue I had setting everything up those years ago when XCFramework and Swift Package Manager were still very new.
Add me as a collaborator for a while and I'll set up the docs better how things fit together, how to prepare and push releases out. It's already using scripts and automating lots of things, but I still need to go through hoops to remember exactly what to do first and where. With moving to
pact-reference/
can also match
PactSwiftMockServer
version to
libpact_ffi
version which will make it much easier keeping track with changelog.
r
Is kebab-case (at least for the main repo) ok? That keeps it consistent with all the other repos
m
yeah, should be no problem. I just used the camel case because in Swift most (all 🤔) imports are
import CamelCaseFramework
🤷 But that can be set in the manifest file and has nothing to do with repo name. Can do camel case for the other ones too. 👍
I've edited my message
or maybe
pact-swift-mockserver
?
then they have the same prefix and looks better... on pap... screen 🙂
😆 1
my GitHub account github.com/surpher matches my avatar here
r
Cool, I'm afk, will set them up tomorrow
m
not in a hurry, I'm... busy... talk to you in 6 months 🙃
j/k, I'll get it under your org sooner than that
r
empty repos have been created. I've set you to have admin permissions, so go wild
thankyou 1
Hmm, maybe don't go wild. Slightly enthusiastic would be better. But wild works too.
👍 1
m
I was just about to...
thanks. I'll try and get it moved over in the next few days/weeks
💪 2
m
Thanks Marko, and Ron for helping. We have a maintainer catch up tonight, I’ll add this to agenda also. Do you know who the maintainers/people are looking to help out? We should make them aware of our regular catch ups and get them “onboarded”
m
I got two people opening PRs lately. I can stay around in the shadows to handle release/update things when needed or at least direct someone who is willing to take over. I just haven't touched PactSwift in almost 2 years cause I don't need to use it and versions broke. 🤷
cool doge flip 1
I got further cleaning up the existing state but not to the point I'm happy to pass on yet.
it will happen, I promise 🫡
m
No worries, appreciate the help ticking things over. Hope you’re well mate!