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

Initial release including curated git history from the original repository #2

Merged
merged 31 commits into from
Mar 25, 2022

Conversation

jcwilk
Copy link
Contributor

@jcwilk jcwilk commented Feb 5, 2022

Original PR was here - #1

This branch is an attempt to maintain the history. Will add more details when the history aspect has been accepted.

Tiphani and others added 6 commits March 2, 2022 16:37
The Simplekiq Batching Job API now supports everything this job needed.
We can have the ProcessAllJob now take advantage of this so the batch
can be defined in a single class.
Still needs some polish around the edges, but this is at least
functional
@jcwilk jcwilk force-pushed the jcw/maintained_history_release branch from aa20ef2 to f0d1252 Compare March 3, 2022 00:39
@jcwilk jcwilk force-pushed the jcw/maintained_history_release branch from 101a834 to 1a04459 Compare March 3, 2022 01:02
@jcwilk jcwilk force-pushed the jcw/maintained_history_release branch from a98f7e7 to b5c55da Compare March 3, 2022 01:10
@jcwilk jcwilk changed the title Jcw/maintained history release Initial release including curated git history from the original repository Mar 3, 2022
@jcwilk
Copy link
Contributor Author

jcwilk commented Mar 24, 2022

@jmonteiro and @jmvbxx - Tagging for a review on this new gem. Jason and I had a meeting and some discussion about this and I think it's all in-line as planned, biggest item of uncertainty would be the circle ci config which I borrowed from https://github.com/doximity/shoulda-matchers-uuid/blob/master/.circleci/config.yml#L114-L121 and stripped out the mysql-related stuff since there's no databases relevant to this gem.

Also planning to amend the wiki with the following information if y'all agree:

General requirements for open source releases:
* Use the Apache v2 license
* Keep project names and code, including comments, business appropriate
* External (non-Doximity employees) contributors must sign the Contributor License Agreement
* Ensure that both the LICENSE and the CLA requirements are explained and linked in the project README file
* Use semver (https://semver.org/) for the gem by default, consider starting it at 0.0.1 for the initial release to indicate things are still getting stabilized

Process for releasing a new gem under Doximity:
* Open a pull-request in terraform to add the new repository under the Github Doximity org account, start it as private.
* After the terraform PR gets merged the new, private repository will exist. Open a PR there for your code.
* Add all the code to the PR which is required to make it a complete gem repository including all of the above specified requirements.
* Also add circle ci config to make it able to build and publish the gem on merge to master, see https://github.com/doximity/shoulda-matchers-uuid/blob/5da06b2068633516e3776966e39a544f864d795f/.circleci/config.yml#L114-L121 for an example
* For reviewers, tag at least two reviewers, including someone at doximity who has worked with our open source gems in the past
* Once released, switch whichever app was using it to point to the publicly released gem to confirm stability and get the PR released
* Once confirmed, switch the repository to public by opening a second terraform PR to switch the flag
* At your leisure, perhaps with the next code change, bump it up to 1.0.0 to indicate it's stable and ready for use in production by the general public

spec.add_development_dependency "pry"

spec.add_dependency "sidekiq", "~> 5.2.9"
spec.add_dependency "sidekiq-pro", "~> 5.0.0"
Copy link

Choose a reason for hiding this comment

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

❓ Is it possible to release the gem without a dependency on sidekiq pro? Would increase the pool of people that could contribute/use

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Austio Unfortunately it's not, most/all of the features in this gem depend on Sidekiq::Batch which is a sidekiq-pro mechanism.

Copy link

@Austio Austio left a comment

Choose a reason for hiding this comment

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

Looks good, think we should test for 2.7.5 for ruby and 3.0.3 and remove the Gemfile.lock

jcwilk added 3 commits March 25, 2022 11:18
Avoids confusion about sidekiq-pro being under rubygems when it's in
fact not available there
Artifacts from the git history migration
@jcwilk jcwilk merged commit 1eedee1 into master Mar 25, 2022
@jcwilk jcwilk deleted the jcw/maintained_history_release branch March 25, 2022 21:48
morriswchris pushed a commit to morriswchris/simplekiq that referenced this pull request Aug 9, 2024
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.

None yet

6 participants