Skip to content

Commit

Permalink
rename to OpenSSH
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 8, 2020
1 parent 45a5e15 commit d472f0a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "Keygen"
name = "OpenSSH"
uuid = "d86bbb82-37b3-4007-a431-d95a92b013b0"
authors = ["Amin Yahyaabadi"]
version = "0.1.0"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Keygen
# OpenSSH

[![Build Status](https://github.com/aminya/Keygen.jl/workflows/CI/badge.svg)](https://github.com/aminya/Keygen.jl/actions)
[![Build Status](https://github.com/JuliaCrypto/OpenSSH.jl/workflows/CI/badge.svg)](https://github.com/JuliaCrypto/OpenSSH.jl/actions)

Generate keys!

Expand All @@ -14,7 +14,7 @@ Generates the SSH keys that are required for the automatic deployment of documen
By default the links in the instructions need to be modified to correspond to actual URLs.

```julia
julia> using Keygen
julia> using OpenSSH
julia> documenter_keygen()
```
------
Expand All @@ -27,8 +27,8 @@ The optional `user` and `repo` keyword arguments can be specified so that the UR
respectively.

```julia
julia> using Keygen
julia> documenter_keygen(user="JuliaDocs", repo="Keygen.jl")
julia> using OpenSSH
julia> documenter_keygen(user="JuliaDocs", repo="OpenSSH.jl")
```

-------
Expand All @@ -47,7 +47,7 @@ Note: the package must be in development mode. Make sure you run `pkg> develop p


```julia
julia> using Keygen, MatLang
julia> using OpenSSH, MatLang
julia> documenter_keygen(MatLang)
```

Expand Down
2 changes: 1 addition & 1 deletion src/Keygen.jl → src/OpenSSH.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Keygen
module OpenSSH

include("utilities.jl")
include("documenter_keygen.jl")
Expand Down
14 changes: 7 additions & 7 deletions src/documenter_keygen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ respectively.
# Examples
```julia-repl
julia> using Keygen
julia> using OpenSSH
julia> documenter_keygen()
[ Info: add the public key below to https://github.com/USER/REPO/settings/keys with read/write access:
ssh-rsa AAAAB3NzaC2yc2EAAAaDAQABAAABAQDrNsUZYBWJtXYUk21wxZbX3KxcH8EqzR3ZdTna0Wgk...jNmUiGEMKrr0aqQMZEL2BG7 username@hostname
[ Info: add a secure environment variable named 'DOCUMENTER_KEY' to https://travis-ci.com/USER/REPO/settings (if you deploy using Travis CI) or https://github.com/USER/REPO/settings/secrets (if you deploy using GitHub Actions) with value:
LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBS0NBUUVBNnpiRkdXQVZpYlIy...QkVBRWFjY3BxaW9uNjFLaVdOcDU5T2YrUkdmCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==
julia> documenter_keygen(user="JuliaDocs", repo="Keygen.jl")
[Info: add the public key below to https://github.com/JuliaDocs/Keygen.jl/settings/keys with read/write access:
julia> documenter_keygen(user="JuliaDocs", repo="OpenSSH.jl")
[Info: add the public key below to https://github.com/JuliaDocs/OpenSSH.jl/settings/keys with read/write access:
ssh-rsa AAAAB3NzaC2yc2EAAAaDAQABAAABAQDrNsUZYBWJtXYUk21wxZbX3KxcH8EqzR3ZdTna0Wgk...jNmUiGEMKrr0aqQMZEL2BG7 username@hostname
[ Info: add a secure environment variable named 'DOCUMENTER_KEY' to https://travis-ci.com/JuliaDocs/Keygen.jl/settings (if you deploy using Travis CI) or https://github.com/JuliaDocs/Keygen.jl/settings/secrets (if you deploy using GitHub Actions) with value:
[ Info: add a secure environment variable named 'DOCUMENTER_KEY' to https://travis-ci.com/JuliaDocs/OpenSSH.jl/settings (if you deploy using Travis CI) or https://github.com/JuliaDocs/OpenSSH.jl/settings/secrets (if you deploy using GitHub Actions) with value:
LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBS0NBUUVBNnpiRkdXQVZpYlIy...QkVBRWFjY3BxaW9uNjFLaVdOcDU5T2YrUkdmCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==
```
"""
Expand Down Expand Up @@ -85,11 +85,11 @@ This method requires `git` to be available from the command line.
# Examples
```julia-repl
julia> using Keygen
julia> using OpenSSH
julia> documenter_keygen(Keygen)
[Info: add the public key below to https://github.com/JuliaDocs/Keygen.jl/settings/keys with read/write access:
[Info: add the public key below to https://github.com/JuliaDocs/OpenSSH.jl/settings/keys with read/write access:
ssh-rsa AAAAB3NzaC2yc2EAAAaDAQABAAABAQDrNsUZYBWJtXYUk21wxZbX3KxcH8EqzR3ZdTna0Wgk...jNmUiGEMKrr0aqQMZEL2BG7 username@hostname
[ Info: add a secure environment variable named 'DOCUMENTER_KEY' to https://travis-ci.com/JuliaDocs/Keygen.jl/settings (if you deploy using Travis CI) or https://github.com/JuliaDocs/Keygen.jl/settings/secrets (if you deploy using GitHub Actions) with value:
[ Info: add a secure environment variable named 'DOCUMENTER_KEY' to https://travis-ci.com/JuliaDocs/OpenSSH.jl/settings (if you deploy using Travis CI) or https://github.com/JuliaDocs/OpenSSH.jl/settings/secrets (if you deploy using GitHub Actions) with value:
LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBS0NBUUVBNnpiRkdXQVZpYlIy...QkVBRWFjY3BxaW9uNjFLaVdOcDU5T2YrUkdmCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==
```
"""
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Keygen
using OpenSSH
using Test

@testset "Keygen.jl" begin
@testset "OpenSSH.jl" begin

@testset "documenter_keygen-added" begin
using Example
Expand Down

0 comments on commit d472f0a

Please sign in to comment.