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

test: Snapshot updates for rcc-smoke (null) #760

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 2 additions & 171 deletions tests/testthat/_snaps/auto.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,76 +17,13 @@
Error in `gert::git_branch_create()`:
! Failed to find git reference 'blop'

# init_release() works

Code
init_release()
Output
+------------------+
| |
| init-release |
| |
+------------------+
Message

-- 1. Creating a release branch and getting ready ------------------------------
> Creating branch cran-0.0.1.
> Switching to branch cran-0.0.1.
> Committing changes.

-- 2. Opening Pull Request for release branch ----------------------------------
> Pushing cran-0.0.1 to remote origin.
> Opening draft pull request with contents from 'cran-comments.md'.

-- 3. User Action Items --------------------------------------------------------
* Run `devtools::check_win_devel()`.
* Run `rhub::check_for_cran()`.
* Run `urlchecker::url_update()`.
* Check all items in 'cran-comments.md'.
* Review 'NEWS.md'.
* Run `fledge::release()`.
Output
NULL

# init_release() -- force

Code
init_release()
Condition
Error in `check_release_branch()`:
x The branch "cran-0.0.1" already exists.
i Do you need `init_release(force = TRUE)`?

---

Code
init_release(force = TRUE)
Output
+------------------+
| |
| init-release |
| |
+------------------+
Message

-- 1. Creating a release branch and getting ready ------------------------------
> Creating branch cran-0.0.1.
> Switching to branch cran-0.0.1.
> Committing changes.

-- 2. Opening Pull Request for release branch ----------------------------------
> Pushing cran-0.0.1 to remote origin.
> Opening draft pull request with contents from 'cran-comments.md'.

-- 3. User Action Items --------------------------------------------------------
* Run `devtools::check_win_devel()`.
* Run `rhub::check_for_cran()`.
* Run `urlchecker::url_update()`.
* Check all items in 'cran-comments.md'.
* Review 'NEWS.md'.
* Run `fledge::release()`.
Output
NULL
Error in `check_release()`:
! Local main branch ahead by 1 commit.

# full cycle

Expand Down Expand Up @@ -198,49 +135,6 @@
Output
NULL

---

Code
release()
Message
> Checking presence and scope of `GITHUB_PAT`.
> Pushing cran-0.1.0.

-- Tagging Version --

> Creating tag v0.1.0 with tag message derived from 'NEWS.md'.
> Force-pushing tag v0.1.0.
i Building
Output
-- R CMD build -----------------------------------------------------------------
* checking for file DESCRIPTION
* preparing 'tea'
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building 'tea_0.0.1.tar.gz'

Message
i Submitting file: 'tea_0.0.1.tar.gz'
i File size: "some hundreds of bytes"
i Uploading package & comments
Not submitting for real o:-)
> Switching to branch main.
> Pulling main.
Resetting main to origin/main
> Merging release branch.
i Check your inbox for a confirmation e-mail from CRAN.
> Copy the URL to the clipboard.
Not submitting for real o:-)

---

Code
post_release()
Message
> Creating GitHub release "v0.1.0".
> Omitting in test.

# release abandon

Code
Expand Down Expand Up @@ -294,66 +188,3 @@
Output
NULL

# full cycle, add more to main

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.

# full cycle, add more to main NO PUSH

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.

---

Code
post_release()
Message
> Omitting in test.