Hi. I would like to know how can i update an app with the latest pull requests from GitHub? For example, Group Folders has a few pull request since 3 days ago. How do I pull the new requests to NextCloud Group Folders App?
TQ
j-ed
August 3, 2020, 12:26pm
2
You will find a description how Github works here .
I think the easiest and fasted way to get updates on your server, is to navigate to the Github project page, click on the Code button and choose Download ZIP, Once you’ve download the archive to your server you can extract the file(s) you’re interested in and copy it to the app directory of Nextcloud. Please make sure that you fix the ownership and access rights afterwards
sure you know what you are doing?
git clone https://github.com/nextcloud/groupfolders
cd groupfolders
git checkout <your-start-branch>
git branch <your-new-branch>
git checkout <your-new-branch>
git merge <the-branch-or-commit-you-want-merge>
repeat the git merge if you want to merge more changes/commits.
after that you have a new personal branch in your folder. from here you can copy the files to your nextcloud app folder.
make a backup of that folder.
don’t use the zip download. you won’t be happy.
don’t do this in production.
install vscode/atom/eclipse plus all fancy git extensions to examine what your doing with your merge. (my favourite is vscode + gitgraph/gitlense)
if it’s only the version number in the three files use vi
directly. that would be faster.
nextcloud:master
← nextcloud:dependabot/npm_and_yarn/types/react-16.9.44
opened 11:54AM - 01 Aug 20 UTC
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEA… D/types/react) from 16.9.34 to 16.9.44.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=16.9.34&new-version=16.9.44)](https://dependabot.com/compatibility-score/?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=16.9.34&new-version=16.9.44)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
</details>