Skip to content

Commit 68bce3f

Browse files
authored
Rename package from GitRepl.jl to GitREPL.jl (#17)
1 parent 7dad4ea commit 68bce3f

File tree

8 files changed

+34
-34
lines changed

8 files changed

+34
-34
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
- run: |
7070
julia --project=docs -e '
7171
using Documenter: DocMeta, doctest
72-
using GitRepl
73-
DocMeta.setdocmeta!(GitRepl, :DocTestSetup, :(using GitRepl); recursive=true)
74-
doctest(GitRepl)'
72+
using GitREPL
73+
DocMeta.setdocmeta!(GitREPL, :DocTestSetup, :(using GitREPL); recursive=true)
74+
doctest(GitREPL)'
7575
- run: julia --project=docs docs/make.jl
7676
env:
7777
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "GitRepl"
1+
name = "GitREPL"
22
uuid = "86bc0129-654e-4751-9b96-b173469afcbd"
33
authors = ["Dilum Aluthge", "contributors"]
44
version = "1.0.0"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# GitRepl
1+
# GitREPL
22

3-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaVersionControl.github.io/GitRepl.jl/stable)
4-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaVersionControl.github.io/GitRepl.jl/dev)
5-
[![Build Status](https://github.com/JuliaVersionControl/GitRepl.jl/workflows/CI/badge.svg)](https://github.com/JuliaVersionControl/GitRepl.jl/actions)
6-
[![Coverage](https://codecov.io/gh/JuliaVersionControl/GitRepl.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaVersionControl/GitRepl.jl)
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaVersionControl.github.io/GitREPL.jl/stable)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaVersionControl.github.io/GitREPL.jl/dev)
5+
[![Build Status](https://github.com/JuliaVersionControl/GitREPL.jl/workflows/CI/badge.svg)](https://github.com/JuliaVersionControl/GitREPL.jl/actions)
6+
[![Coverage](https://codecov.io/gh/JuliaVersionControl/GitREPL.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaVersionControl/GitREPL.jl)
77

88
## Git REPL mode
99

1010
```julia
11-
julia> using GitRepl
11+
julia> using GitREPL
1212

1313
# Press , to enter the Git REPL mode
1414

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3-
GitRepl = "86bc0129-654e-4751-9b96-b173469afcbd"
3+
GitREPL = "86bc0129-654e-4751-9b96-b173469afcbd"

docs/make.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
using GitRepl
1+
using GitREPL
22
using Documenter
33

4-
DocMeta.setdocmeta!(GitRepl, :DocTestSetup, :(using GitRepl); recursive=true)
4+
DocMeta.setdocmeta!(GitREPL, :DocTestSetup, :(using GitREPL); recursive=true)
55

66
makedocs(;
7-
modules=[GitRepl],
7+
modules=[GitREPL],
88
authors="Dilum Aluthge and contributors",
9-
repo="https://github.com/JuliaVersionControl/GitRepl.jl/blob/{commit}{path}#{line}",
10-
sitename="GitRepl.jl",
9+
repo="https://github.com/JuliaVersionControl/GitREPL.jl/blob/{commit}{path}#{line}",
10+
sitename="GitREPL.jl",
1111
format=Documenter.HTML(;
1212
prettyurls=get(ENV, "CI", "false") == "true",
13-
canonical="https://JuliaVersionControl.github.io/GitRepl.jl",
13+
canonical="https://JuliaVersionControl.github.io/GitREPL.jl",
1414
assets=String[],
1515
),
1616
pages=[
@@ -20,6 +20,6 @@ makedocs(;
2020
)
2121

2222
deploydocs(;
23-
repo="github.com/JuliaVersionControl/GitRepl.jl",
23+
repo="github.com/JuliaVersionControl/GitREPL.jl",
2424
devbranch="main",
2525
)

docs/src/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
```@meta
2-
CurrentModule = GitRepl
2+
CurrentModule = GitREPL
33
```
44

5-
# GitRepl
5+
# GitREPL
66

7-
Documentation for [GitRepl](https://github.com/JuliaVersionControl/GitRepl.jl).
7+
Documentation for [GitREPL](https://github.com/JuliaVersionControl/GitREPL.jl).
88

99
```@index
1010
```
1111

1212
```@autodocs
13-
Modules = [GitRepl]
13+
Modules = [GitREPL]
1414
```

src/GitRepl.jl renamed to src/GitREPL.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
module GitRepl
1+
module GitREPL
22

33
import Git
44
import ReplMaker
55

66
export gitrepl
77

8-
const GIT_REPL_MODE_NAME = "GitRepl.jl Git REPL mode"
8+
const GIT_REPL_MODE_NAME = "GitREPL.jl Git REPL mode"
99
const GIT_REPL_MODE_PROMPT_TEXT = "git> "
1010
const GIT_REPL_MODE_START_KEY = ','
1111

1212
function _gitrepl_parser(repl_input::AbstractString)
1313
return quote
1414
repl_input = $(Expr(:quote, repl_input))
15-
run(`$(GitRepl.Git.git()) $(split(repl_input))`)
15+
run(`$(GitREPL.Git.git()) $(split(repl_input))`)
1616
return nothing
1717
end
1818
end

test/runtests.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using GitRepl
1+
using GitREPL
22
using Test
33

44
function withtempdir(f::Function)
@@ -10,16 +10,16 @@ function withtempdir(f::Function)
1010
return nothing
1111
end
1212

13-
@testset "GitRepl.jl" begin
13+
@testset "GitREPL.jl" begin
1414
withtempdir() do tmp_dir
15-
@test !isdir("GitRepl.jl")
16-
@test !isfile(joinpath("GitRepl.jl", "Project.toml"))
17-
expr = GitRepl._gitrepl_parser("clone https://github.com/JuliaVersionControl/GitRepl.jl")
15+
@test !isdir("GitREPL.jl")
16+
@test !isfile(joinpath("GitREPL.jl", "Project.toml"))
17+
expr = GitREPL._gitrepl_parser("clone https://github.com/JuliaVersionControl/GitREPL.jl")
1818
@test expr isa Expr
19-
@test !isdir("GitRepl.jl")
20-
@test !isfile(joinpath("GitRepl.jl", "Project.toml"))
19+
@test !isdir("GitREPL.jl")
20+
@test !isfile(joinpath("GitREPL.jl", "Project.toml"))
2121
@eval $(expr)
22-
@test isdir("GitRepl.jl")
23-
@test isfile(joinpath("GitRepl.jl", "Project.toml"))
22+
@test isdir("GitREPL.jl")
23+
@test isfile(joinpath("GitREPL.jl", "Project.toml"))
2424
end
2525
end

0 commit comments

Comments
 (0)