-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
127 changed files
with
64,196 additions
and
81,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- .github/ISSUE_TEMPLATE/** | ||
- doc/** | ||
- man/** | ||
- '**/LICENCE' | ||
- '**/.gitignore' | ||
- '**.md' | ||
pull_request: | ||
paths-ignore: | ||
- .github/ISSUE_TEMPLATE/** | ||
- doc/** | ||
- man/** | ||
- '**/LICENCE' | ||
- '**/.gitignore' | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cxx: [g++, clang++] | ||
libc: [glibc, musl] | ||
include: | ||
- cxx: g++ | ||
cc: gcc | ||
- cxx: clang++ | ||
cc: clang | ||
- libc: glibc | ||
shell: bash | ||
- libc: musl | ||
shell: alpine.sh {0} | ||
|
||
defaults: | ||
run: | ||
shell: ${{ matrix.shell }} | ||
|
||
steps: | ||
- name: Set up Ubuntu | ||
if: matrix.libc == 'glibc' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y autopoint pkgconf gettext libcamera-dev libopencv-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev libswscale-dev libwebp-dev libmicrohttpd-dev libmariadb-dev libasound2-dev libpulse-dev libfftw3-dev | ||
- name: Set up Alpine | ||
if: matrix.libc == 'musl' | ||
uses: jirutka/setup-alpine@master | ||
with: | ||
branch: edge | ||
packages: > | ||
build-base | ||
clang | ||
file | ||
autoconf | ||
automake | ||
gettext-dev | ||
libtool | ||
libzip-dev | ||
jpeg-dev | ||
v4l-utils-libs | ||
libcamera-dev | ||
opencv-dev | ||
ffmpeg-dev | ||
libmicrohttpd-dev | ||
sqlite-dev | ||
mariadb-dev | ||
alsa-lib-dev | ||
pulseaudio-dev | ||
fftw-dev | ||
- name: Checkout source | ||
uses: actions/checkout@main | ||
|
||
- name: Configure build | ||
run: | | ||
autoreconf -fiv | ||
./configure CC=${{ matrix.cc }} CXX=${{ matrix.cxx }} | ||
- name: Build target | ||
run: | | ||
${{ matrix.CXX }} --version | ||
make -j $(($(nproc)+1)) | ||
- name: Run artifact | ||
run: | | ||
file ./src/motion | ||
./src/motion -h || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,14 @@ | ||
# How to contribute | ||
|
||
Issues on the github site are intended to discuss code problems, crashes and application enhancements. If you are having an issue with the setup, | ||
configuration or use of Motion, we have the following additional resources which are better suited to meet these needs. | ||
Issues on the github site are intended to discuss code problems, crashes and application enhancements. The discussions is intended for questions after you have read the guide. | ||
|
||
<<<<<<< HEAD | ||
* User guide: [Motion User Guide](https://motion-project.github.io/motion_guide.html) | ||
* User Group List: Please sign-up and send your issue to the list [Motion User](https://lists.sourceforge.net/lists/listinfo/motion-user) | ||
* IRC: [#motion](ircs://irc.libera.chat:6697/motion) on Libera Chat | ||
======= | ||
## Questions submitted as issues | ||
>>>>>>> 5.0 | ||
It is very important to use these resources for non-code issues since it engages a much wider audience who may have experience resolving | ||
the particular issue you are trying to resolve. | ||
Questions that are submitted as a github issue will be transferred to the discussions section. | ||
|
||
## Submitting Problems | ||
|
||
Before submitting a issue, please make sure that you are using either the latest release as posted | ||
[here](https://github.com/Motion-Project/motion/releases) or that you have built the latest source code | ||
from the github master branch. | ||
|
||
If the issue still remains with the current version, please validate that the issue has not already been reported | ||
by searching through the issue log. | ||
|
||
Next, we must be provided the following in order to replicate and ultimately resolve the issue: | ||
|
||
* A complete Motion log for a single run from startup to shutdown at the INF/7 log level. | ||
* The expected versus actual result | ||
|
||
The preferred method of providing the log file is by posting it on [gist](https://gist.github.com/). Only provide | ||
the link to the gist file within the issue. The full configuration will be printed out to the log at the INF/7 level | ||
with the most common, sensitive information (URLs, usernames/passwords, etc) masked. It is recommended that you | ||
double check before posting the log file. | ||
For more information please read [privacy wiki article](https://github.com/Motion-Project/motion/wiki/Privacy) | ||
|
||
Note that the developers do not use any front-end application to use Motion and we need the actual logs from the Motion | ||
application rather than logs from the front-end application. | ||
|
||
|
||
## Submitting an Enhancement Request | ||
|
||
Motion has a extremely large number of configuration options. With so many options, it is important to include a description | ||
of how/why the enhancement will be used. It is possible that the existing options can be configured to address the need. | ||
(Which could then lead to a different enhancement than originally contemplated of making those options easier to use or documented | ||
better.) | ||
|
||
|
||
## Submitting changes | ||
|
||
Generally, it is best to first submit a issue on the particular enhancement prior to a pull request. This allows the particular | ||
item to be discussed and determine how it would fit into the application. | ||
|
||
As pull requests are prepared, in addition to the actual code, please also consider: | ||
|
||
* Changes needed to the Motion_Guide.html which is our user guide. | ||
* Changes to the motion.1 file which is the manual | ||
* Changes to the configuration templates of motion.conf, camera1.conf, etc. | ||
|
||
|
||
Thanks, | ||
Motion-Project Team. |
Oops, something went wrong.