theforeman / theforeman-rel-eng

Release engineering scripts
0 stars 15 forks source link

Newbie installation issues #336

Open Griffin-Sullivan opened 8 months ago

Griffin-Sullivan commented 8 months ago

I think it'll be easier to just run through this list and check them off or delete them as we fix.

Pip install obal
Yum install git-annex rpmdev-tools
In ~/.gitconfig
[alias]
  ph = "!git push $(whoami) HEAD --set-upstream --quiet"
  pr = "!hub pull-request"
  phr = "!git ph && git pr"
ekohl commented 8 months ago
  • Tag_project needed me to assign a key for gpg git. Something like git config --global user.signingkey

I don't think this is tracked before, but certainly something that belongs in the README

  • Tag_push didn’t work because tool_belt used http clone had to reclone everything with ssh

I've configured git to rewrite push URLs: git config --global url.git@github.com:.pushInsteadOf https://github.com/

  • Bump_packaging needs foreman-packaging cloned into ~/dev and run the following:

Note the ~/dev directory is configurable:

https://github.com/theforeman/theforeman-rel-eng/blob/17a45ebb8a1aed4989e3884c473718c0b99ddeb4/settings#L57

You can override it in settings.local:

https://github.com/theforeman/theforeman-rel-eng/blob/17a45ebb8a1aed4989e3884c473718c0b99ddeb4/settings#L10-L13

It now clones foreman-packaging as needed, but https://github.com/theforeman/theforeman-rel-eng/commit/940a720b1f530153769d71575eecb54fc3b5a127 was probably merged after you got started.

Additional installations are added in https://github.com/theforeman/theforeman-rel-eng/pull/199

The additional aliases aren't documented. It may be better to avoid them and call the commands directly. Let's take that part to https://github.com/theforeman/theforeman-rel-eng/pull/337

ekohl commented 1 month ago

I've converted everything into separate issue because it's easier to have individual discussions.