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

Modified docs to reflect the correct password syntax for the gon-sign.json file #3620

Merged
merged 3 commits into from
Aug 25, 2024

Conversation

iberflow
Copy link
Contributor

@iberflow iberflow commented Jul 18, 2024

Description

Updates current docs to specify that @env:* syntax is no longer supported since Apple has switched to notarytool for signing.

Type of change

  • This change requires a documentation update

Summary by CodeRabbit

  • New Features

    • Enhanced dependency management by updating several libraries to their latest versions, potentially improving performance and addressing security issues.
  • Bug Fixes

    • Added a nil check for the Drag-and-Drop functionality on Windows.
    • Resolved a race condition in the notifyListeners() function, enhancing reliability.
  • Documentation

    • Updated signing configuration guidelines to reflect the deprecation of Apple's altool syntax and the transition to using the new notarytool.
    • Clarified password syntax for the gon-sign.json file.
    • Made minor fixes for typos in various Markdown files to improve clarity.

Copy link
Contributor

coderabbitai bot commented Jul 18, 2024

Warning

Rate limit exceeded

@leaanthony has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 16 minutes and 9 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Commits

Files that changed from the base of the PR and between 0d5c3c8 and 7b126ab.

Walkthrough

The changes involve updating dependencies in a Go project to newer versions and modifying documentation related to the signing process. The Go modules golang.org/x/crypto, golang.org/x/net, golang.org/x/sys, and golang.org/x/text have been upgraded. Additionally, the signing documentation now directly references app-specific passwords instead of using environment variables, reflecting updates in associated tooling and practices.

Changes

Files Summary
v2/examples/customlayout/go.mod Updated versions of several dependencies: golang.org/x/crypto (v0.17.0 to v0.23.0), golang.org/x/net (v0.17.0 to v0.25.0), golang.org/x/sys (v0.15.0 to v0.20.0), and golang.org/x/text (v0.14.0 to v0.15.0).
website/docs/guides/signing.mdx Updated signing configuration documentation to reflect direct entry of app-specific passwords and deprecation of certain syntax.
website/src/pages/changelog.mdxx Added nil check for Drag-and-Drop on Windows, fixed race condition in notifyListeners(), updated documentation for gon-sign.json, and corrected typos in Markdown files.

Poem

In code, we trust, with changes bold,
Dependencies updated, new versions hold.
Documentation, clear and bright,
Signing made simple, a coder's delight.
Tools evolve, yet we navigate,
With every commit, we celebrate! 🎉


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (1)
website/versioned_docs/version-v2.9.0/guides/signing.mdx (1)

276-277: The deprecation notice for Apple's altool syntax supporting @env: is present but lacks additional context or guidance for users.

  • Consider providing more information on what users should do as an alternative or where they can find more details about the new notarytool.
Analysis chain

Verify clarity and completeness of deprecation notice.

Ensure that the deprecation notice for Apple's altool syntax supporting @env: is clear and provides necessary context.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the clarity and completeness of deprecation notice.

# Test: Search for the deprecation notice. Expect: Clear and complete notice.
rg --type mdx 'deprecated Apple\'s altool'

Length of output: 93


Script:

#!/bin/bash
# Description: Verify the clarity and completeness of deprecation notice.

# Test: Search for the deprecation notice. Expect: Clear and complete notice.
rg --type mdx "deprecated Apple's altool"

Length of output: 74


Script:

#!/bin/bash
# Description: Verify the clarity and completeness of deprecation notice.

# Test: Search for the deprecation notice in `.mdx` files. Expect: Clear and complete notice.
rg 'deprecated Apple'\''s altool' --glob '*.mdx'

Length of output: 340

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 482f19e and 675aa8b.

Files ignored due to path filters (1)
  • v2/examples/customlayout/go.sum is excluded by !**/*.sum
Files selected for processing (2)
  • v2/examples/customlayout/go.mod (1 hunks)
  • website/versioned_docs/version-v2.9.0/guides/signing.mdx (2 hunks)
Additional comments not posted (6)
v2/examples/customlayout/go.mod (4)

36-36: No changes to golang.org/x/text.

The dependency remains at version v0.15.0.


32-32: Verify compatibility of golang.org/x/crypto v0.23.0.

Ensure that the new version does not introduce breaking changes and is compatible with the rest of the project.


35-35: Verify compatibility of golang.org/x/sys v0.20.0.

Ensure that the new version does not introduce breaking changes and is compatible with the rest of the project.


34-34: Verify compatibility of golang.org/x/net v0.25.0.

Ensure that the new version does not introduce breaking changes and is compatible with the rest of the project.

website/versioned_docs/version-v2.9.0/guides/signing.mdx (2)

Line range hint 1-277:
Verify overall consistency and clarity of documentation.

Ensure that the overall documentation is consistent and provides clear instructions regarding the migration to notarytool and new signing requirements.

Tools
LanguageTool

[uncategorized] ~268-~268: Loose punctuation mark.
Context: ...ak down of the above fields: - source: The location of your wails binary to be...

(UNLIKELY_OPENING_PUNCTUATION)


257-257: Verify clarity and accuracy of app-specific password instructions.

Ensure that the new instructions for entering the app-specific password directly are clear and accurate.

Verification successful

Verify clarity and accuracy of app-specific password instructions.

The instructions for entering the app-specific password directly in website/versioned_docs/version-v2.9.0/guides/signing.mdx are clear and accurate. The change from using Gon's environment variable syntax to directly entering the password is correctly reflected.

  • website/versioned_docs/version-v2.9.0/guides/signing.mdx: The instructions are clear and do not reference the environment variable syntax.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the clarity and accuracy of app-specific password instructions.

# Test: Search for the usage of app-specific password instructions. Expect: Clear and accurate instructions.
rg --type mdx 'app-specific password'

Length of output: 67


Script:

#!/bin/bash
# Description: Verify the clarity and accuracy of app-specific password instructions.

# Test: Search for the usage of app-specific password instructions. Expect: Clear and accurate instructions.
rg 'app-specific password' --glob '*.mdx'

Length of output: 1948

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 675aa8b and f9f29f5.

Files selected for processing (1)
  • website/versioned_docs/version-v2.9.0/guides/signing.mdx (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • website/versioned_docs/version-v2.9.0/guides/signing.mdx

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between f9f29f5 and f965d45.

Files selected for processing (1)
  • website/versioned_docs/version-v2.9.0/guides/signing.mdx (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • website/versioned_docs/version-v2.9.0/guides/signing.mdx

@leaanthony
Copy link
Member

leaanthony commented Jul 20, 2024

Thanks 🙏 The changes are to versioned documents which will get wiped at some point. Would it be possible to add them to the non versioned docs? Thank you 🙏

Please could you add an entry to the changelog located at website/src/pages/changelog.mdx?

@iberflow
Copy link
Contributor Author

iberflow commented Aug 5, 2024

Sure thing! Will get this sorted this week

@leaanthony
Copy link
Member

@ignasbernotas - any news?
Please could you add an entry to the changelog located at website/src/pages/changelog.mdx?

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (3)
website/docs/guides/signing.mdx (3)

257-257: Clarify Password Instructions

The instruction to use "your-app-specific-password" is clear. Ensure that users are aware of how to generate this password.

Consider adding a brief note or link on how to generate an app-specific password.


271-271: Clarify Password Instructions

The instruction to use "your app-specific password" is clear. Ensure that users are aware of how to generate this password.

Consider adding a brief note or link on how to generate an app-specific password.


276-277: Update Notarytool Information

The note about the deprecated altool syntax is informative. Ensure that users understand the implications of this change.

Consider providing a link to Apple's documentation on the new notarytool for further reading.

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between f965d45 and 8fc2e5a.

Files ignored due to path filters (1)
  • v2/examples/customlayout/go.sum is excluded by !**/*.sum
Files selected for processing (3)
  • v2/examples/customlayout/go.mod (1 hunks)
  • website/docs/guides/signing.mdx (2 hunks)
  • website/src/pages/changelog.mdxx (1 hunks)
Additional comments not posted (5)
v2/examples/customlayout/go.mod (4)

32-32: Dependency Update: golang.org/x/crypto

The update from version 0.17.0 to 0.23.0 is noted. Ensure that any breaking changes or deprecations in the newer version are addressed in the codebase.


34-34: Dependency Update: golang.org/x/net

The update from version 0.17.0 to 0.25.0 is noted. Verify compatibility with the rest of the codebase.


35-35: Dependency Update: golang.org/x/sys

The update from version 0.15.0 to 0.20.0 is noted. Ensure that the codebase is compatible with the new version.


36-36: Dependency Update: golang.org/x/text

The update from version 0.14.0 to 0.15.0 is noted. Check for any changes that might affect the code.

website/src/pages/changelog.mdxx (1)

29-29: Changelog entry update looks good.

The documentation update to reflect the correct password syntax for the gon-sign.json file is clear and informative.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8fc2e5a and 0d5c3c8.

Files selected for processing (2)
  • website/docs/guides/signing.mdx (2 hunks)
  • website/src/pages/changelog.mdxx (1 hunks)
Files skipped from review due to trivial changes (1)
  • website/docs/guides/signing.mdx
Files skipped from review as they are similar to previous changes (1)
  • website/src/pages/changelog.mdxx

@iberflow iberflow changed the title fix: update signing doc with notarytool notice Modified docs to reflect the correct password syntax for the gon-sign.json file Aug 23, 2024
@iberflow
Copy link
Contributor Author

@leaanthony sorry for the delay, should be good now. thanks!

@leaanthony leaanthony enabled auto-merge (squash) August 25, 2024 11:32
@leaanthony leaanthony merged commit 1a23102 into wailsapp:master Aug 25, 2024
4 of 5 checks passed
Copy link

sonarcloud bot commented Aug 25, 2024

@iberflow iberflow deleted the docs/signing branch August 25, 2024 21:29
therealsamf pushed a commit to therealsamf/wails that referenced this pull request Aug 29, 2024
…n.json` file (wailsapp#3620)

* fix: docs macOS signing password syntax

* fix: docs macOS signing password syntax

---------

Co-authored-by: Lea Anthony <[email protected]>
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.

2 participants