# How to submit small changes to julia

**URL:** <https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [February 22, 2023, 9:57am UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005 "2023-02-22T09:57:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![birl](https://avatars.discourse-cdn.com/v4/letter/b/b4bc9f/32.png) [@birl](https://discourse.julialang.org/u/birl)\
**Post date:** [February 22, 2023, 9:57am UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/1 "2023-02-22T09:57:56Z")

</div>

While going through the code of Pkg.jl, I realized that `UPLEVEL_MAJOR` is exported twice.

Pkg.jl/src/Pkg.jl:17

```julia
export UpgradeLevel, UPLEVEL_MAJOR, UPLEVEL_MAJOR, UPLEVEL_MINOR, UPLEVEL_PATCH

```

My first instinct was to create an issue on Github. But while trying to do so I was met with this message:

```julia
If you have a question please search or post to our Discourse site: https://discourse.julialang.org.
We use the GitHub issue tracker for bug reports and feature requests only.

```

Now I am not sure if this is considered a bug, because technically it is not breaking anything. Also it might not be a feature since no behaviour would change.

If possible I would still like to fix this, but I do not know what the correct process to follow would be. Can someone please describe the steps I need to take to fix this? Or alternatively tell me that this is nitpicking and not worth any action.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Post date:** [February 22, 2023, 10:04am UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/2 "2023-02-22T10:04:28Z")

</div>

Cool, that you directly want to contribute – and welcome to discourse 🙂

If you are not sure you could open an issue with Pkg.jl here [Issues · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues)  
If you directly know how to fix that (for example which export to delete) you will have to fort that repository. probably clone that locally to your machine, read about development mode (if you want to be sure all tests still run fine), fix that locally, commit, push, and do a PR directly here [https://github.com/JuliaLang/Pkg.jl/pulls](https://github.com/JuliaLang/Pkg.jl/pulls)

I am not 100% sure how much of the Git/GitHub workflow (fork-branch-fix-pullrequeest) you know, so maybe the explanation above is either too short or trivial to you

Overall I think it is not a bug, but nicer and cleaner code is always nice, I think, so feel free to contribute 🙂

---

<div class="post-metadata">

**Author:** ![lrnv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lrnv/32/19373_2.png) [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Post date:** [February 22, 2023, 10:29am UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/3 "2023-02-22T10:29:33Z")

</div>

> [@kellertuer](#):
>
> I am not 100% sure how much of the Git/GitHub workflow (fork-branch-fix-pullrequeest) you know, so maybe the explanation above is either too short or trivial to you

If you don’t, this is probably a good chance to learn that workflow, which will probably come handy for you later 🙂

---

<div class="post-metadata">

**Author:** ![birl](https://avatars.discourse-cdn.com/v4/letter/b/b4bc9f/32.png) [@birl](https://discourse.julialang.org/u/birl)\
**Post date:** [February 22, 2023, 11:05am UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/4 "2023-02-22T11:05:19Z")

</div>

Thanks!

I am working on making a pull request. I have read about the Git/Github forking workflow, but never used it myself. So I am using this to learn that workflow as @lrnv pointed out.

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [February 22, 2023, 12:56pm UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/5 "2023-02-22T12:56:38Z")

</div>

If I were to do this, I would fork (via the fork button in the top right of the github page for the repository), make the change in the forked repo via [github.com](http://github.com), and after the cange, press the pop-up saying something like “this branch is ahead of …” to make the pull request.

Not sure if that is the best way, but it is very easy and fast, and has worked fine for me in making small changes to e.g. documentation, which I know do not break anything.

---

<div class="post-metadata">

**Author:** ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Post date:** [February 22, 2023, 1:36pm UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/6 "2023-02-22T13:36:17Z")

</div>

Looks like OP has submitted [the fix](https://github.com/JuliaLang/Pkg.jl/commit/e36a1cd085e305228234df0fe4f8a9f1e8cb9868), which has been merged!

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [February 22, 2023, 1:40pm UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/7 "2023-02-22T13:40:11Z")

</div>

> [@TheLateKronos](#):
>
> Not sure if that is the best way, but it is very easy and fast, and has worked fine for me in making small changes to e.g. documentation, which I know do not break anything.

For small changes like this, the easiest thing is generally to use the [edit button on github](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files#editing-files-in-another-users-repository), which lets you make the change directly in your browser, and automates the process of creating the fork and the pull request.

---

<div class="post-metadata">

**Author:** ![TheCedarPrince](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thecedarprince/32/17323_2.png) [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Post date:** [February 22, 2023, 2:33pm UTC](https://discourse.julialang.org/t/how-to-submit-small-changes-to-julia/95005/8 "2023-02-22T14:33:50Z")

</div>

And just like that, we have a new contributor to the language: [Removing redundant UPLEVEL\_MAJOR export by birl1 · Pull Request #3385 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/pull/3385)

You love to see it 🕶
