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

Small fix in Pkg doc #11631

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
5 changes: 3 additions & 2 deletions doc/manual/packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,8 @@ This creates a commit in the ``~/.julia/v0.4/METADATA`` repo::
This commit is only locally visible, however. In order to make it visible to
the world, you need to merge your local ``METADATA`` upstream into the official
repo. The :func:`Pkg.publish` command will fork the ``METADATA`` repository on
GitHub, push your changes to your fork, and open a pull request::
GitHub, push your changes to your fork, and open a pull request (the
Copy link
Member

Choose a reason for hiding this comment

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

It asks me every time for my password..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see. I only did this once so far and assumed that it only does it once if ssh-agent is set up. If there is a way to avoid it, then we should include it here.

first time this is run, it will ask you for your GitHub password)::

julia> Pkg.publish()
INFO: Validating METADATA
Expand All @@ -738,7 +739,7 @@ GitHub, push your changes to your fork, and open a pull request::
then you may have encountered an issue from using the GitHub API on
multiple systems. The solution is to delete the "Julia Package Manager"
personal access token `from your Github account
<https://github.com/settings/applications>`_ and try again.
<https://github.com/settings/tokens>`_ and try again.

Other failures may require you to circumvent :func:`Pkg.publish` by
`creating a pull request on GitHub
Expand Down