Skip to content

Commit

Permalink
release librarycarpentry/lc-sql
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed May 2, 2023
1 parent 83bd8d7 commit a359d3e
Show file tree
Hide file tree
Showing 6 changed files with 1,580 additions and 0 deletions.
1,545 changes: 1,545 additions & 0 deletions release/librarycarpentry/lc-sql-commit-map.hash

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions release/librarycarpentry/lc-sql-invalid.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
37796ecdd2e321deb8b153b7fcd7bc073668bea4
4 changes: 4 additions & 0 deletions release/librarycarpentry/lc-sql-ref-map.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
old new ref
91fb4de72f1721ac69e2d152eaa0c2ff9c5cadf7 8b8426d0673018a4e811483b3eeacf551831e227 refs/heads/gh-pages
91fb4de72f1721ac69e2d152eaa0c2ff9c5cadf7 8b8426d0673018a4e811483b3eeacf551831e227 refs/tags/2023.05
d58b72383cddd29406addb040323b8567f7174fd 46c3ca4e22f2503364b308ddb2e0bd90c93d618d refs/tags/v2019.06.1
1 change: 1 addition & 0 deletions release/librarycarpentry/lc-sql-status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":[129198304],"node_id":["MDEwOlJlcG9zaXRvcnkxMjkxOTgzMDQ="],"name":["lc-sql"],"full_name":["LibraryCarpentry/lc-sql"],"private":[false],"owner":{"login":["LibraryCarpentry"],"id":[11696664],"node_id":["MDEyOk9yZ2FuaXphdGlvbjExNjk2NjY0"],"avatar_url":["https://avatars.githubusercontent.com/u/11696664?v=4"],"gravatar_id":[""],"url":["https://api.github.com/users/LibraryCarpentry"],"html_url":["https://github.com/LibraryCarpentry"],"followers_url":["https://api.github.com/users/LibraryCarpentry/followers"],"following_url":["https://api.github.com/users/LibraryCarpentry/following{/other_user}"],"gists_url":["https://api.github.com/users/LibraryCarpentry/gists{/gist_id}"],"starred_url":["https://api.github.com/users/LibraryCarpentry/starred{/owner}{/repo}"],"subscriptions_url":["https://api.github.com/users/LibraryCarpentry/subscriptions"],"organizations_url":["https://api.github.com/users/LibraryCarpentry/orgs"],"repos_url":["https://api.github.com/users/LibraryCarpentry/repos"],"events_url":["https://api.github.com/users/LibraryCarpentry/events{/privacy}"],"received_events_url":["https://api.github.com/users/LibraryCarpentry/received_events"],"type":["Organization"],"site_admin":[false]},"html_url":["https://github.com/LibraryCarpentry/lc-sql"],"description":["Library Carpentry: SQL"],"fork":[false],"url":["https://api.github.com/repos/LibraryCarpentry/lc-sql"],"forks_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/forks"],"keys_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/keys{/key_id}"],"collaborators_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/collaborators{/collaborator}"],"teams_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/teams"],"hooks_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/hooks"],"issue_events_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/issues/events{/number}"],"events_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/events"],"assignees_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/assignees{/user}"],"branches_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/branches{/branch}"],"tags_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/tags"],"blobs_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/git/blobs{/sha}"],"git_tags_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/git/tags{/sha}"],"git_refs_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/git/refs{/sha}"],"trees_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/git/trees{/sha}"],"statuses_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/statuses/{sha}"],"languages_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/languages"],"stargazers_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/stargazers"],"contributors_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/contributors"],"subscribers_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/subscribers"],"subscription_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/subscription"],"commits_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/commits{/sha}"],"git_commits_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/git/commits{/sha}"],"comments_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/comments{/number}"],"issue_comment_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/issues/comments{/number}"],"contents_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/contents/{+path}"],"compare_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/compare/{base}...{head}"],"merges_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/merges"],"archive_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/{archive_format}{/ref}"],"downloads_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/downloads"],"issues_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/issues{/number}"],"pulls_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/pulls{/number}"],"milestones_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/milestones{/number}"],"notifications_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/notifications{?since,all,participating}"],"labels_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/labels{/name}"],"releases_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/releases{/id}"],"deployments_url":["https://api.github.com/repos/LibraryCarpentry/lc-sql/deployments"],"created_at":["2018-04-12T05:32:28Z"],"updated_at":["2023-04-12T16:02:13Z"],"pushed_at":["2023-05-02T16:13:08Z"],"git_url":["git://github.com/LibraryCarpentry/lc-sql.git"],"ssh_url":["[email protected]:LibraryCarpentry/lc-sql.git"],"clone_url":["https://github.com/LibraryCarpentry/lc-sql.git"],"svn_url":["https://github.com/LibraryCarpentry/lc-sql"],"homepage":["https://librarycarpentry.org/lc-sql/"],"size":[9707],"stargazers_count":[14],"watchers_count":[14],"language":["HTML"],"has_issues":[true],"has_projects":[true],"has_downloads":[true],"has_wiki":[true],"has_pages":[true],"has_discussions":[false],"forks_count":[36],"mirror_url":{},"archived":[false],"disabled":[false],"open_issues_count":[5],"license":{"key":["other"],"name":["Other"],"spdx_id":["NOASSERTION"],"url":{},"node_id":["MDc6TGljZW5zZTA="]},"allow_forking":[true],"is_template":[false],"web_commit_signoff_required":[false],"topics":[["carpentries"],["data-wrangling"],["database"],["english"],["lesson"],["library-carpentry"],["programming"],["sql"],["stable"]],"visibility":["public"],"forks":[36],"open_issues":[5],"watchers":[14],"default_branch":["gh-pages"],"permissions":{"admin":[true],"maintain":[true],"push":[true],"triage":[true],"pull":[true]},"allow_squash_merge":[true],"allow_merge_commit":[true],"allow_rebase_merge":[true],"allow_auto_merge":[false],"delete_branch_on_merge":[true],"allow_update_branch":[false],"use_squash_pr_title_as_default":[false],"squash_merge_commit_message":["COMMIT_MESSAGES"],"squash_merge_commit_title":["COMMIT_OR_PR_TITLE"],"merge_commit_message":["PR_TITLE"],"merge_commit_title":["MERGE_MESSAGE"],"organization":{"login":["LibraryCarpentry"],"id":[11696664],"node_id":["MDEyOk9yZ2FuaXphdGlvbjExNjk2NjY0"],"avatar_url":["https://avatars.githubusercontent.com/u/11696664?v=4"],"gravatar_id":[""],"url":["https://api.github.com/users/LibraryCarpentry"],"html_url":["https://github.com/LibraryCarpentry"],"followers_url":["https://api.github.com/users/LibraryCarpentry/followers"],"following_url":["https://api.github.com/users/LibraryCarpentry/following{/other_user}"],"gists_url":["https://api.github.com/users/LibraryCarpentry/gists{/gist_id}"],"starred_url":["https://api.github.com/users/LibraryCarpentry/starred{/owner}{/repo}"],"subscriptions_url":["https://api.github.com/users/LibraryCarpentry/subscriptions"],"organizations_url":["https://api.github.com/users/LibraryCarpentry/orgs"],"repos_url":["https://api.github.com/users/LibraryCarpentry/repos"],"events_url":["https://api.github.com/users/LibraryCarpentry/events{/privacy}"],"received_events_url":["https://api.github.com/users/LibraryCarpentry/received_events"],"type":["Organization"],"site_admin":[false]},"security_and_analysis":{"secret_scanning":{"status":["disabled"]},"secret_scanning_push_protection":{"status":["disabled"]}},"network_count":[36],"subscribers_count":[14]}
27 changes: 27 additions & 0 deletions release/librarycarpentry/lc-sql-suboptimal-issues.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
The following commits used to be merge commits but due to filtering
are now regular commits; they likely have suboptimal commit messages
(e.g. "Merge branch next into master"). Original commit hash on the
left, commit hash after filtering/rewriting on the right:
b'b8fa738fc2d7ced44b29e8cde8b789449396a1a8' None

The following commits were filtered out, but referenced in another
commit message. The reference to the now-nonexistent commit hash
(or a substring thereof) was left as-is in any commit messages:
b'2822005'
b'f488d248d55637f05bea3f9592451f887a3a7c83'
b'69156216'
b'7e835fd'
b'dc1b52ab11fa7d247db32df0523e0656faf74dc5'
b'2c6b97e57dce86830bdbde8d9f8a871c0b46a035'
b'53e991355f617c108912a21eae00cfe46823aca4'
b'9a19e91'
b'7da36a56c0ee'
b'796265728'
b'283310978'
b'079d7d50'
b'5cc32b0cf7c5bb70c72fc530'
b'cb784035da82383afa3f834cb1a0c3aa62c8124c'
b'1e56203d492a1a13d86756fb5e9d754ed2cae0f8'
b'499555724'
b'9da857efb16d7351127f2d5c46fc0af660654506'

2 changes: 2 additions & 0 deletions release/librarycarpentry/lc-sql.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
91fb4de72f1721ac69e2d152eaa0c2ff9c5cadf7

1 comment on commit a359d3e

@zkamvar
Copy link
Contributor Author

@zkamvar zkamvar commented on a359d3e May 2, 2023

Choose a reason for hiding this comment

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

This release encountered issues similar to that of https://github.com/carpentries/lesson-transition/releases/tag/release_dc%2Fimage-processing

Error Message

There was an SSL error when pushing to the remote. The good news is that it was a pre-push error, which meant that the main branch was not yet pushed and thus the workflows were not running.

── Setting up default branch ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
→ New origin: <https://[email protected]/librarycarpentry/lc-sql.git>
ℹ pushing the main branch
Error in libgit2::git_remote_push : 
  SSL error: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac
Calls: setup_github -> <Anonymous> -> raise_libgit2_error
Execution halted
make: *** [Makefile:106: release/librarycarpentry/lc-sql.json] Error 1
Full output
→ preparing to run `setup_github(path = 'release/librarycarpentry/lc-sql', owner = 'librarycarpentry', repo = 'lc-sql')` in.svg' to 'assets/images/plus.svg'
→ 5...
→ 4...
→ 3...
→ 2...
→ 1...

── Credentials ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
{
  "name": "Zhian N. Kamvar",
  "login": "zkamvar",
  "html_url": "https://github.com/zkamvar",
  "token": "gith...u5Rn"
} 

── Setting up repository ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
ℹ Writing to /home/zhian/Documents/Carpentries/Git/carpentries/lesson-transition/release/librarycarpentry/lc-sql/config.yaml
→ created:  -> created: '2018-04-12'
Running git add config.yaml
Running git commit --amend --no-edit
[main 57f3557] [automation] final workbench updates
 Date: Tue May 2 10:04:01 2023 -0700
 2 files changed, 3 insertions(+), 64 deletions(-)
 delete mode 100644 .github/workflows/workbench-beta-phase.yml
ℹ renaming default branch (gh-pages) to legacy/gh-pages
POST /repos/librarycarpentry/lc-sql/branches/gh-pages/rename
ℹ enabling github actions to be run
ℹ fetching and pruning branches
Running git fetch --prune origin
From https://github.com/librarycarpentry/lc-sql
 * [new branch]      drjwbaker-patch-1 -> origin/drjwbaker-patch-1
 * [new branch]      icecjan-patch-1   -> origin/icecjan-patch-1
 * [new branch]      legacy/gh-pages   -> origin/legacy/gh-pages
 * [new branch]      libcce-patch-1    -> origin/libcce-patch-1
 * [new branch]      libcce-update-inclusive-language -> origin/libcce-update-inclusive-language

── Setting up default branch ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
→ New origin: <https://[email protected]/librarycarpentry/lc-sql.git>
ℹ pushing the main branch
Error in libgit2::git_remote_push : 
  SSL error: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac
Calls: setup_github -> <Anonymous> -> raise_libgit2_error
Execution halted
make: *** [Makefile:106: release/librarycarpentry/lc-sql.json] Error 1

Recovery

I applied the procedure similar to #46 (comment)

  1. opened the functions.R file and scrolled to the definition for
    setup_github()
  2. start R and run source("functions.R")
  3. provision the five parameters
    • path <- "release/librarycarpentry/lc-sql"
    • owner <- "librarycarpentry"
    • repo <- "lc-sql"
    • action <- "close-pr.yaml"
    • .token <- askpass::askpass() and paste the release token
  4. run lines 468 through 480
  5. run default <- "gh-pages" (because by then the default had changed)
  6. run line 489 (oops)
  7. run lines 516 through 552 (force push and protect main branch)
  8. run lines 555 through 576
  9. run lines 516 through 552

This WAS a successful run, but it did require manual intervention.

Please sign in to comment.