Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Build from my repos
« previous
next »
Print
Pages: [
1
]
Author
Topic: Build from my repos (Read 3049 times)
ruslan-gennadievich
Newbie
Posts: 18
Karma: 1
Build from my repos
«
on:
September 04, 2020, 01:23:58 am »
Hello friends!
I want create my private repos of opnsense. I forked all repos (core, ports, tools) in my local gitlab.
Then i try modify tools to build from my repos, but i don't know how setup user and password from my git in opnsense/tools/blob/master/Makefile
Logged
franco
Administrator
Hero Member
Posts: 17672
Karma: 1612
Re: Build from my repos
«
Reply #1 on:
September 04, 2020, 08:20:59 am »
Hi,
It depends a little. Are you repos accessible via HTTP(S) or SSH? But in both cases setting GITBASE accordingly is sufficient...
Cheers,
Franco
Logged
ruslan-gennadievich
Newbie
Posts: 18
Karma: 1
Re: Build from my repos
«
Reply #2 on:
September 04, 2020, 07:42:43 pm »
My repos accessible via HTTPS.
Tell please, how i can set username and pass via GITBASE ?
Logged
franco
Administrator
Hero Member
Posts: 17672
Karma: 1612
Re: Build from my repos
«
Reply #3 on:
September 04, 2020, 10:08:16 pm »
https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage
Logged
ruslan-gennadievich
Newbie
Posts: 18
Karma: 1
Re: Build from my repos
«
Reply #4 on:
September 05, 2020, 09:22:36 pm »
Yes, i know about this. But after
git config --global user.name "mygituser"
git config --global user.email mygituser@mygit.local
make update again promt user name and password
Logged
ruslan-gennadievich
Newbie
Posts: 18
Karma: 1
Re: Build from my repos
«
Reply #5 on:
September 10, 2020, 07:22:46 pm »
I found solutions:
In Makefile:
GITBASE?=
https://myuser:mypass@git.local/myopnsense
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Build from my repos