Skip to content

Commit

Permalink
Merge pull request #2 from LibreTime/master
Browse files Browse the repository at this point in the history
get the last changes from master
  • Loading branch information
xabispacebiker committed Nov 7, 2020
2 parents c2d0d85 + 2003e68 commit ab10e93
Show file tree
Hide file tree
Showing 2,246 changed files with 108,462 additions and 25,495 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: libretime
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**LibreTime version:**
Version from the upgrade popup if you can reach it.

**Installation method:**
- OS: [e.g. Ubuntu]
- OS Version [e.g. 16.04.5 LTS (Xenial Xerus)]
- Method: [e.g. `./install` script or packages]
- Details: [how did you call the install script, where did you get packages from]

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Client (please complete the following information if applicable):**
- OS: [e.g. Fedora]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature-request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
30 changes: 30 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365

# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false

# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []

# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false

# Comment to post before locking. Set to `false` to disable
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
Please chat to us on [discourse](https://discourse.libretime.org/) or
ask for help on our [chat](https://chat.libretime.org/) if you have any
questions or need further assistance with this issue.
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true

# Limit to only `issues` or `pulls`
# only: issues
58 changes: 58 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale (5 months)
daysUntilStale: 150

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. (1 month)
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 30

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- pinned
- security
- "[Status] Maybe Later"
- "3.0-release-blocker"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: true

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
activity in the last 5 months. It will be closed if no activity occurs in
the next month.
Please chat to us on [discourse](https://discourse.libretime.org/) or
ask for help on our [chat](https://chat.libretime.org/) if you have any
questions or need further support with getting this issue resolved.
You may also label an issue as *pinned* if you would like to make sure
that it does not get closed by this bot.
# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
This issue has been autmatically closed after is was marked as stale and
did not receive any further inputs.
Feel free to let us know on [discourse](https://discourse.libretime.org/) or
ask for help on our [chat](https://chat.libretime.org/) if you feel this
issue should not have been closed.
Thank you for your contributions.
# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ VERSION
airtime_mvc/tests/log/*.log
.vagrant/
.DS_Store
.idea/
/docs/_site/*
/docs/.jekyll-cache/*
166 changes: 74 additions & 92 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,104 +1,86 @@
dist: trusty
language: php
php:
# the latest and greatest, has some issues that are excluded below in matrix.allow_failures
- 7.2
- 7.1
# the 7.0 build demonstrates that everything is basically ok for 7.0, users might want to wait for 7.1 to run it
- 7.0
# folks who prefer running on 5.x should be using 5.6 in most cases, 5.4 is no in the matrix since noone should use it
- 5.6
# this is in for centos support, it's still the default on CentOS 7.3 and there were some lang changes after 5.4
- 5.4
dist: xenial

services:
- postgresql
- rabbitmq
- postgresql

env:
global:
- ENVIRONMENT=testing
- LIBRETIME_LOG_DIR=/tmp/log/libretime
matrix:
- PYTHON=false
- PYTHON=true
matrix:
allow_failures:
# there are currently some testing issues with DateTime precision on 7.1
- env: PYTHON=false
php: 7.1
# there are some issues with phpunit as well as some deep in zf1 on 7.2
- env: PYTHON=false
php: 7.2
exclude:
# by excluding all of python we make way to just runu python tests in one seperate instance
- env: PYTHON=true
include:
# using latest to run python on since it will last the longest
- php: 7.1
env: PYTHON=true
- ENVIRONMENT=testing
- LIBRETIME_LOG_DIR=/tmp/log/libretime

addons:
apt:
packages:
- silan
- liquidsoap
- liquidsoap-plugin-mad
- liquidsoap-plugin-taglib
- liquidsoap-plugin-flac
- liquidsoap-plugin-ogg
- liquidsoap-plugin-lame
- liquidsoap-plugin-faad
- liquidsoap-plugin-vorbis
- liquidsoap-plugin-opus
- python-nose
- python-rgain
- python-gst-1.0
- python-magic
- mp3gain
install:
- >
if [[ "$PYTHON" == false ]]; then
composer install
fi
- >
if [[ "$PYTHON" == true ]]; then
pip install --user mkdocs
pushd python_apps/airtime_analyzer
python setup.py install --dry-run --no-init-script
popd
fi
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-ugly
- libgirepository1.0-dev
- liquidsoap
- liquidsoap-plugin-faad
- liquidsoap-plugin-lame
- liquidsoap-plugin-mad
- liquidsoap-plugin-vorbis
- python3-gst-1.0
- silan

jobs:
include:
- language: php
php: 7.3
stage: test
- language: php
php: 7.2
stage: test
- language: php
php: 7.1
stage: test
- language: php
php: 7.0
stage: test
- language: php
php: 5.6
stage: test
- language: python
python: 3.8
stage: test
- language: python
python: 3.7
stage: test
- language: python
python: 3.5
stage: test
- stage: deploy
addons:
apt:
packages:
dos2unix
script:
./travis/release.sh
deploy:
- provider: releases
token: $GITHUB_TOKEN
file: build/libretime-*.tar.gz
edge: true
on:
tags: true
allow_failures:
# https://github.com/LibreTime/libretime/issues/779
- language: php
php: 7.3
- language: php
php: 7.2
- language: php
php: 7.1
# https://github.com/LibreTime/libretime/issues/1041
- language: python
python: 3.5

install: ./travis/install.sh
before_script:
# prepare the database as per docs/testing.md
- psql -c 'CREATE DATABASE libretime;' -U postgres
- psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" -U postgres
- psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;' -U postgres
- psql -c 'ALTER USER libretime CREATEDB;' -U postgres
- mkdir -p /tmp/log/libretime
script:
- ./travis/php.sh
- ./travis/python.sh
deploy:
- provider: pages
skip_cleanup: true
local_dir: build/docs
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
target_branch: master
repo: LibreTime/LibreTime.github.io
project_name: LibreTime
fqdn: libretime.org
name: R. LibreTime DocBot
on:
branch: master
condition: $PYTHON = true
- provider: script
skip_cleanup: true
script: ./travis/release.sh
on:
tags: true
condition: $PYTHON = true
- provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file_glob: true
file: build/libretime-*.tar.gz
on:
tags: true
condition: $PYTHON = true
script: ./travis/test.sh
Loading

0 comments on commit ab10e93

Please sign in to comment.