I was away from building my own version for a few years so I forgot everything. This question is...
A new Pale Moon version has been released; how can I update the source code to the new version without blowing away the old directory, and downloading via git all over again? What are the commands for updating source code in an existing source code directory?
How do I update source for new release? Topic is solved
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
How do I update source for new release?
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data
-
- Pale Moon guru
- Posts: 37762
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: How do I update source for new release?
Normally you use "git pull" to pull changes to the branch you have checked out (should be "release"), and to update the platform code you use "git submodule update"
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: How do I update source for new release?
Is that...
git pull https://repo.palemoon.org/MoonchildProd ... e-Moon.git release
git submodule update
I fumbled around a bit to get the first line working.
git pull https://repo.palemoon.org/MoonchildProd ... e-Moon.git release
git submodule update
I fumbled around a bit to get the first line working.
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data
-
- Pale Moon guru
- Posts: 37762
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: How do I update source for new release?
No...
You don't need to specify the git repo if you've already checked it out with "git clone" before. I was assuming you had, because you asked about updating.
First you "git clone" to check out the source code.
Then you build.
When it's time to update, you just "git pull" from the dir where you first cloned the repo. Nothing else is needed, as the repo info is already present in your checked-out copy's meta data.
You don't need to specify the git repo if you've already checked it out with "git clone" before. I was assuming you had, because you asked about updating.
First you "git clone" to check out the source code.
Then you build.
When it's time to update, you just "git pull" from the dir where you first cloned the repo. Nothing else is needed, as the repo info is already present in your checked-out copy's meta data.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: How do I update source for new release?
Thank you. Like I said in the initial post, I'd forgotten everything.
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data