2

I really, really, don't understand gitlab docs...

I am trying to understand how to make a god damn changelog entry, I have a changelog.md file, here are the gitlab docs about this: https://docs.gitlab.com/ce/development/changelog.html

But I don't understand where I have to write that, for example

$ bin/changelog 'Hey DZ, I added a feature to GitLab!'

It must be a terminal but where? And what's that '$'...

Coco
  • 73
  • 2
  • 8

2 Answers2

0

It must be a terminal but where?

Where you have cloned the GitLab repo.
In that repo, you will find a bin/changelog script, which starts with #!/usr/bin/env ruby, meaning it will execute itself with ruby.

And $ is just a symbol for a shell prompt.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I did the repo using GitKraken, I don't have any bin in the repository – Coco Sep 23 '17 at 23:49
  • oh thats what I have to clone, nope, I didnt, can I clone it in any folder or the same as my repo? – Coco Sep 24 '17 at 13:24
  • @Coco in any folder *outside* your repo. And that `bin/changelog` executable if for the GitLab changelog file, not for your own project/repo. – VonC Sep 24 '17 at 14:03
  • and how can I make it edit the changelog file from my repo? – Coco Sep 24 '17 at 14:39
  • @Coco simply try it from within your repo (`cd /path/to/your/repo; ../gitlab/bin/changelog`) and see if it fails, if you need to adapt that script. – VonC Sep 24 '17 at 14:42
0

The documentation you are reading is for the GitLab development, not for your own project or repository.

Like said in this very similar question :

The bin/changelog script is not a GitLab feature, and does not describe how to generate changelogs for repositories hosted on GitLab ]1

Cannabear
  • 76
  • 1
  • 8