Update CI configs to v0.5.4

Update lint scripts and CI configs.
This commit is contained in:
Pion
2021-07-02 02:17:33 +00:00
committed by Sean DuBois
parent 7b7183eb5a
commit 8a0df90831
6 changed files with 222 additions and 161 deletions

View File

@@ -12,6 +12,7 @@
set -e
SCRIPT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
AUTHORS_PATH="$GITHUB_WORKSPACE/AUTHORS.txt"
if [ -f ${SCRIPT_PATH}/.ci.conf ]
then
@@ -21,18 +22,18 @@ fi
#
# DO NOT EDIT THIS
#
EXCLUDED_CONTRIBUTORS+=('John R. Bradley' 'renovate[bot]' 'Renovate Bot' 'Pion Bot')
EXCLUDED_CONTRIBUTORS+=('John R. Bradley' 'renovate[bot]' 'Renovate Bot' 'Pion Bot' 'pionbot')
# If you want to exclude a name from all repositories, send a PR to
# https://github.com/pion/.goassets instead of this repository.
# If you want to exclude a name only from this repository,
# add EXCLUDED_CONTRIBUTORS=('name') to .github/.ci.conf
MISSING_CONTRIBUTORS=()
CONTRIBUTORS=()
shouldBeIncluded () {
for i in "${EXCLUDED_CONTRIBUTORS[@]}"
do
if [ "$i" == "$1" ] ; then
if [[ $1 =~ "$i" ]]; then
return 1
fi
done
@@ -41,21 +42,25 @@ shouldBeIncluded () {
IFS=$'\n' #Only split on newline
for contributor in $(git log --format='%aN' | sort -u)
for contributor in $(git log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf)
do
if shouldBeIncluded $contributor; then
if ! grep -q "$contributor" "$SCRIPT_PATH/../README.md"; then
MISSING_CONTRIBUTORS+=("$contributor")
fi
CONTRIBUTORS+=("$contributor")
fi
done
unset IFS
if [ ${#MISSING_CONTRIBUTORS[@]} -ne 0 ]; then
echo "Please add the following contributors to the README"
for i in "${MISSING_CONTRIBUTORS[@]}"
if [ ${#CONTRIBUTORS[@]} -ne 0 ]; then
cat >$AUTHORS_PATH <<-'EOH'
# Thank you to everyone that made Pion possible. If you are interested in contributing
# we would love to have you https://github.com/pion/webrtc/wiki/Contributing
#
# This file is auto generated, using git to list all individuals contributors.
# see `.github/generate-authors.sh` for the scripting
EOH
for i in "${CONTRIBUTORS[@]}"
do
echo "$i"
echo "$i" >> $AUTHORS_PATH
done
exit 1
exit 0
fi

View File

@@ -8,6 +8,6 @@
set -e
.github/assert-contributors.sh
.github/generate-authors.sh
exit 0

48
.github/workflows/generate-authors.yml vendored Normal file
View File

@@ -0,0 +1,48 @@
name: generate-authors
on:
pull_request:
jobs:
generate-authors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
token: ${{ secrets.PIONBOT_PRIVATE_KEY }}
- name: Generate the authors file
run: .github/generate-authors.sh
- name: Add the authors file to git
run: git add AUTHORS.txt
- name: Get last commit message
id: last-commit-message
run: |
COMMIT_MSG=$(git log -1 --pretty=%B)
COMMIT_MSG="${COMMIT_MSG//'%'/'%25'}"
COMMIT_MSG="${COMMIT_MSG//$'\n'/'%0A'}"
COMMIT_MSG="${COMMIT_MSG//$'\r'/'%0D'}"
echo "::set-output name=msg::$COMMIT_MSG"
- name: Get last commit author
id: last-commit-author
run: |
echo "::set-output name=msg::$(git log -1 --pretty='%aN <%ae>')"
- name: Check if AUTHORS.txt file has changed
id: git-status-output
run: |
echo "::set-output name=msg::$(git status -s | wc -l)"
- uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ steps.git-status-output.outputs.msg != '0' }}
with:
commit_message: ${{ steps.last-commit-message.outputs.msg }}
commit_author: ${{ steps.last-commit-author.outputs.msg }}
commit_options: '--amend --no-edit'
push_options: '--force'
skip_fetch: true

View File

@@ -22,9 +22,6 @@ jobs:
- name: File names
run: .github/lint-filename.sh
- name: Contributors
run: .github/assert-contributors.sh
- name: Functions
run: .github/lint-disallowed-functions-in-library.sh

156
AUTHORS.txt Normal file
View File

@@ -0,0 +1,156 @@
# Thank you to everyone that made Pion possible. If you are interested in contributing
# we would love to have you https://github.com/pion/webrtc/wiki/Contributing
#
# This file is auto generated, using git to list all individuals contributors.
# see `.github/generate-authors.sh` for the scripting
a-wing <1@233.email>
Aaron France <aaron.l.france@gmail.com>
Adam Kiss <masterada@gmail.com>
adwpc <adwpc@hotmail.com>
aggresss <aggresss@163.com>
akil <akil@everycrave.me>
Aleksandr Razumov <ar@gortc.io>
aler9 <46489434+aler9@users.noreply.github.com>
Alex Browne <stephenalexbrowne@gmail.com>
Alex Harford <harford@gmail.com>
AlexWoo(武杰) <wj19840501@gmail.com>
Andrew N. Shalaev <isqad88@gmail.com>
Antoine Baché <antoine.bache@epitech.eu>
Antoine Baché <antoine@tenten.app>
Artur Shellunts <shellunts.artur@gmail.com>
Assad Obaid <assad@lap5cg901003r.se.axis.com>
Ato Araki <ato.araki@gmail.com>
Atsushi Watanabe <atsushi.w@ieee.org>
backkem <mail@backkem.me>
baiyufei <baiyufei@outlook.com>
Bao Nguyen <bao@n4n.dev>
Ben Weitzman <benweitzman@gmail.com>
Benny Daon <benny@tuzig.com>
Bo Shi <boshi@mural.co>
Brendan Rius <brendan.rius@gmail.com>
Cameron Elliott <cameron-elliott@users.noreply.github.com>
Cecylia Bocovich <cohosh@torproject.org>
Cedric Fung <cedric@vec.io>
cgojin <gongjin21@hotmail.com>
Chad Retz <chad.retz@stackpath.com>
chenkaiC4 <chenkaic4@gmail.com>
Chris Hiszpanski <chris@hiszpanski.name>
Christopher Fry <chris.fry@getcruise.com>
Clayton McCray <cpmdmccray@gmail.com>
cnderrauber <zengjie9004@gmail.com>
cyannuk <cyannuk@issart.com>
David Hamilton <davidhamiltron@gmail.com>
David Zhao <david@davidzhao.com>
decanus <7621705+decanus@users.noreply.github.com>
Denis <Hixon10@yandex.ru>
digitalix <digitalix4@gmail.com>
donotanswer <viktor.ferter@doclerholding.com>
earle <aguilar@dm.ai>
Egon Elbre <egonelbre@gmail.com>
feixiao <feixiao2020@sina.com>
frank <frank@huzhedeMacBook-Pro.local>
Gareth Hayes <gareth.hayes@gmail.com>
Guilherme <gqgs@protonmail.com>
Hanjun Kim <hallazzang@gmail.com>
Hendrik Hofstadt <hendrik@nexantic.com>
Henry <cryptix@riseup.net>
Hongchao Ma <hongchao.ma@synaptop.com>
Hugo Arregui <hugo.arregui@gmail.com>
Hugo Arregui <hugo@decentraland.org>
Ilya Mayorov <faroyam1@yandex.ru>
imalic3 <manovisut.ktp@gmail.com>
Ivan Egorov <vany.egorov@gmail.com>
JacobZwang <59858341+JacobZwang@users.noreply.github.com>
Jake B <doogie1012@gmail.com>
Jamie Good <jamie.good@gmail.com>
Jason <jabrady42@gmail.com>
Jeff Tchang <jeff.tchang@gmail.com>
Jerko Steiner <jerko.steiner@gmail.com>
jinleileiking <jinleileiking@gmail.com>
John Berthels <john.berthels@gmail.com>
John Bradley <jrb@turrettech.com>
JooYoung <qkdlql@naver.com>
Jorropo <jorropo.pgm@gmail.com>
Juliusz Chroboczek <jch@irif.fr>
Justin Okamoto <jdokamoto@gmail.com>
Justin Okamoto <justmoto@amazon.com>
Konstantin Chugalinskiy <kchugalinskiy@yandex.ru>
Konstantin Itskov <konstantin.itskov@kovits.com>
krishna chiatanya <kittuov@gmail.com>
Kuzmin Vladimir <vova-kyzmin@yandex.ru>
lawl <github@dumbinter.net>
Lukas Herman <lherman.cs@gmail.com>
Luke <luke@street.dev>
Luke Curley <kixelated@gmail.com>
Luke S <luke@street.dev>
Magnus Wahlstrand <magnus.wahlstrand@gmail.com>
Markus Tzoe <chou.marcus@gmail.com>
Marouane <6729798+nindolabs@users.noreply.github.com>
Marouane <marouane@gamestream.biz>
Masahiro Nakamura <13937915+tsuu32@users.noreply.github.com>
Max Hawkins <maxhawkins@gmail.com>
mchlrhw <4028654+mchlrhw@users.noreply.github.com>
Michael MacDonald <github@macdonald.cx>
Michael MacDonald <mike.macdonald@savantsystems.com>
Michiel De Backker <38858977+backkem@users.noreply.github.com>
Mike Coleman <mc@fivebats.com>
Mindgamesnl <matsmoolhuizen@gmail.com>
mission-liao <missionaryliao@gmail.com>
mxmCherry <mxmCherry@gmail.com>
Nam V. Do <vannam12a7@gmail.com>
Nick Mykins <nmykins@digitalocean.com>
nindolabs <6729798+nindolabs@users.noreply.github.com>
Norman Rasmussen <norman@rasmussen.co.za>
notedit <notedit@gmail.com>
o0olele <liangruipeng@ztgame.com>
obasajujoshua31 <obasajujoshua31@gmail.com>
Oleg Kovalov <iamolegkovalov@gmail.com>
opennota <opennota@gmail.com>
OrlandoCo <luisorlando.co@gmail.com>
Pascal Benoit <pascal.benoit@acemediastools.fr>
pascal-ace <47424881+pascal-ace@users.noreply.github.com>
Patrick Lange <mail@langep.com>
q191201771 <191201771@qq.com>
Quentin Renard <contact@asticode.com>
Rafael Viscarra <rafael@viscarra.dev>
rahulnakre <rahulnakre@gmail.com>
Raphael Randschau <nicolai86@me.com>
Raphael Randschau <nicolai86@users.noreply.github.com>
Reese <3253971+figadore@users.noreply.github.com>
rob-deutsch <robzyb+altgithub@gmail.com>
Robert Eperjesi <eperjesi@uber.com>
Robin Raymond <robin-raymond@users.noreply.github.com>
Roman Romanenko <romandafe94@gmail.com>
ronan <ronan.jezequel@gmail.com>
salmān aljammāz <s@aljmz.com>
Sam Lancia <sam@vaion.com>
Sean DuBois <seaduboi@amazon.com>
Sean DuBois <sean@siobud.com>
Sean DuBois <sean_dubois@apple.com>
Sean Knight <git@seanknight.com>
Sebastian Waisbrot <seppo0010@gmail.com>
Simon Eisenmann <simon@longsleep.org>
simonacca-fotokite <47634061+simonacca-fotokite@users.noreply.github.com>
Simone Gotti <simone.gotti@gmail.com>
Slugalisk <slugalisk@gmail.com>
soolaugust <soolaugust@gmail.com>
spaceCh1mp <drimboat@gmail.com>
Suhas Gaddam <suhas.g.2011@gmail.com>
Suzuki Takeo <takeo@stko.info>
sylba2050 <masataka.hisasue@optim.co.jp>
Tarrence van As <tarrencev@users.noreply.github.com>
tarrencev <tarrence13@gmail.com>
Thomas Miller <tmiv74@gmail.com>
Tobias Fridén <tobias.friden@gmail.com>
Tomek <tomek@pop-os.localdomain>
Vicken Simonian <vsimon@gmail.com>
wattanakorn495 <wattanakorn.i@ku.th>
Will Watson <william.a.watson@gmail.com>
Woodrow Douglass <wdouglass@carnegierobotics.com>
xsbchen <xsbchen@qq.com>
Yuki Igarashi <me@bonprosoft.com>
yusuke <yusuke.m99@gmail.com>
Yutaka Takeda <yt0916@gmail.com>
ZHENK <chengzhenyang@gmail.com>
zigazeljko <ziga.zeljko@gmail.com>
박종훈 <jonghun.park.194@gmail.com>

145
README.md
View File

@@ -133,150 +133,5 @@ If you need commercial support or don't want to use public methods you can conta
### Contributing
Check out the **[contributing wiki](https://github.com/pion/webrtc/wiki/Contributing)** to join the group of amazing people making this project possible:
* [John Bradley](https://github.com/kc5nra) - *Original Author*
* [Michael Melvin Santry](https://github.com/santrym) - *Mascot*
* [Raphael Randschau](https://github.com/nicolai86) - *STUN*
* [Sean DuBois](https://github.com/Sean-Der) - *Original Author*
* [Michiel De Backker](https://github.com/backkem) - *SDP, Public API, Project Management*
* [Brendan Rius](https://github.com/brendanrius) - *Cleanup*
* [Konstantin Itskov](https://github.com/trivigy) - *SDP Parsing*
* [chenkaiC4](https://github.com/chenkaiC4) - *Fix GolangCI Linter*
* [Ronan J](https://github.com/ronanj) - *Fix STCP PPID*
* [wattanakorn495](https://github.com/wattanakorn495)
* [Max Hawkins](https://github.com/maxhawkins) - *RTCP*
* [Justin Okamoto](https://github.com/justinokamoto) - *Fix Docs*
* [leeoxiang](https://github.com/notedit) - *Implement Janus examples*
* [Denis](https://github.com/Hixon10) - *Adding docker-compose to pion-to-pion example*
* [earle](https://github.com/aguilEA) - *Generate DTLS fingerprint in Go*
* [Jake B](https://github.com/silbinarywolf) - *Fix Windows installation instructions*
* [Michael MacDonald](https://github.com/mjmac) - *Plan B compatibility, Remote TURN/Trickle-ICE, Logging framework*
* [Oleg Kovalov](https://github.com/cristaloleg) *Use wildcards instead of hardcoding travis-ci config*
* [Woodrow Douglass](https://github.com/wdouglass) *RTCP, RTP improvements, G.722 support, Bugfixes*
* [Tobias Fridén](https://github.com/tobiasfriden) *SRTP authentication verification*
* [Yutaka Takeda](https://github.com/enobufs) *Fix ICE connection timeout*
* [Hugo Arregui](https://github.com/hugoArregui) *Fix connection timeout*
* [Rob Deutsch](https://github.com/rob-deutsch) *RTPReceiver graceful shutdown*
* [Jin Lei](https://github.com/jinleileiking) - *SFU example use http*
* [Will Watson](https://github.com/wwatson) - *Enable gocritic*
* [Luke Curley](https://github.com/kixelated)
* [Antoine Baché](https://github.com/Antonito) - *OGG Opus export*
* [frank](https://github.com/feixiao) - *Building examples on OSX*
* [mxmCherry](https://github.com/mxmCherry)
* [Alex Browne](https://github.com/albrow) - *JavaScript/Wasm bindings*
* [adwpc](https://github.com/adwpc) - *SFU example with websocket*
* [imalic3](https://github.com/imalic3) - *SFU websocket example with datachannel broadcast*
* [Žiga Željko](https://github.com/zigazeljko)
* [Simonacca Fotokite](https://github.com/simonacca-fotokite)
* [Marouane](https://github.com/nindolabs) *Fix Offer bundle generation*
* [Christopher Fry](https://github.com/christopherfry)
* [Adam Kiss](https://github.com/masterada)
* [xsbchen](https://github.com/xsbchen)
* [Alex Harford](https://github.com/alexjh)
* [Aleksandr Razumov](https://github.com/ernado)
* [mchlrhw](https://github.com/mchlrhw)
* [AlexWoo(武杰)](https://github.com/AlexWoo) *Fix RemoteDescription parsing for certificate fingerprint*
* [Cecylia Bocovich](https://github.com/cohosh)
* [Slugalisk](https://github.com/slugalisk)
* [Agugua Kenechukwu](https://github.com/spaceCh1mp)
* [Ato Araki](https://github.com/atotto)
* [Rafael Viscarra](https://github.com/rviscarra)
* [Mike Coleman](https://github.com/fivebats)
* [Suhas Gaddam](https://github.com/suhasgaddam)
* [Atsushi Watanabe](https://github.com/at-wat)
* [Robert Eperjesi](https://github.com/epes)
* [Aaron France](https://github.com/AeroNotix)
* [Gareth Hayes](https://github.com/gazhayes)
* [Sebastian Waisbrot](https://github.com/seppo0010)
* [Masataka Hisasue](https://github.com/sylba2050) - *Fix Docs*
* [Hongchao Ma(马洪超)](https://github.com/hcm007)
* [Aaron France](https://github.com/AeroNotix)
* [Chris Hiszpanski](https://github.com/thinkski) - *Fix Answer bundle generation*
* [Vicken Simonian](https://github.com/vsimon)
* [Guilherme Souza](https://github.com/gqgs)
* [Andrew N. Shalaev](https://github.com/isqad)
* [David Hamilton](https://github.com/dihamilton)
* [Ilya Mayorov](https://github.com/faroyam)
* [Patrick Lange](https://github.com/langep)
* [cyannuk](https://github.com/cyannuk)
* [Lukas Herman](https://github.com/lherman-cs)
* [Konstantin Chugalinskiy](https://github.com/kchugalinskiy)
* [Bao Nguyen](https://github.com/sysbot)
* [Luke S](https://github.com/encounter)
* [Hendrik Hofstadt](https://github.com/hendrikhofstadt)
* [Clayton McCray](https://github.com/ClaytonMcCray)
* [lawl](https://github.com/lawl)
* [Jorropo](https://github.com/Jorropo)
* [Akil](https://github.com/akilude)
* [Quentin Renard](https://github.com/asticode)
* [opennota](https://github.com/opennota)
* [Simon Eisenmann](https://github.com/longsleep)
* [Ben Weitzman](https://github.com/benweitzman)
* [Masahiro Nakamura](https://github.com/tsuu32)
* [Tarrence van As](https://github.com/tarrencev)
* [Yuki Igarashi](https://github.com/bonprosoft)
* [Egon Elbre](https://github.com/egonelbre)
* [Jerko Steiner](https://github.com/jeremija)
* [Roman Romanenko](https://github.com/r-novel)
* [YongXin SHI](https://github.com/a-wing)
* [Magnus Wahlstrand](https://github.com/kyeett)
* [Chad Retz](https://github.com/cretz)
* [Simone Gotti](https://github.com/sgotti)
* [Cedric Fung](https://github.com/cedricfung)
* [Norman Rasmussen](https://github.com/normanr) - *Fix Empty DataChannel messages*
* [salmān aljammāz](https://github.com/saljam)
* [cnderrauber](https://github.com/cnderrauber)
* [Juliusz Chroboczek](https://github.com/jech)
* [John Berthels](https://github.com/jbert)
* [Somers Matthews](https://github.com/somersbmatthews)
* [Vitaliy F](https://github.com/funvit)
* [Ivan Egorov](https://github.com/vany-egorov)
* [Nick Mykins](https://github.com/nmyk)
* [Jason Brady](https://github.com/jbrady42)
* [krishna chiatanya](https://github.com/kittuov)
* [JacobZwang](https://github.com/JacobZwang)
* [박종훈](https://github.com/JonghunBok)
* [Sam Lancia](https://github.com/nerd2)
* [Henry](https://github.com/cryptix)
* [Jeff Tchang](https://github.com/tachang)
* [JooYoung Lim](https://github.com/DevRockstarZ)
* [Sidney San Martín](https://github.com/s4y)
* [soolaugust](https://github.com/soolaugust)
* [Kuzmin Vladimir](https://github.com/tekig)
* [Alessandro Ros](https://github.com/aler9)
* [Thomas Miller](https://github.com/tmiv)
* [yoko(q191201771)](https://github.com/q191201771)
* [Joshua Obasaju](https://github.com/obasajujoshua31)
* [Mission Liao](https://github.com/mission-liao)
* [Hanjun Kim](https://github.com/hallazzang)
* [ZHENK](https://github.com/scorpionknifes)
* [Rahul Nakre](https://github.com/rahulnakre)
* [OrlandoCo](https://github.com/OrlandoCo)
* [Assad Obaid](https://github.com/assadobaid)
* [Jamie Good](https://github.com/jamiegood) - *Bug fix in jsfiddle example*
* [Artur Shellunts](https://github.com/ashellunts)
* [Sean Knight](https://github.com/SeanKnight)
* [o0olele](https://github.com/o0olele)
* [Bo Shi](https://github.com/bshimc)
* [Suzuki Takeo](https://github.com/BambooTuna)
* [baiyufei](https://github.com/baiyufei)
* [pascal-ace](https://github.com/pascal-ace)
* [Threadnaught](https://github.com/Threadnaught)
* [Dean Eigenmann](https://github.com/decanus)
* [Cameron Elliott](https://github.com/cameronelliott)
* [Pascal Benoit](https://github.com/pascal-ace)
* [Mats](https://github.com/Mindgamesnl)
* [donotanswer](https://github.com/f-viktor)
* [Reese](https://github.com/figadore)
* [David Zhao](https://github.com/davidzhao)
* [Nam V. Do](https://github.com/namvdo)
* [Markus Tzoe](https://github.com/zyxar)
* [Benny Daon](https://github.com/daonb)
* [Tomek](https://github.com/trojek)
* [Jin Gong](https://github.com/cgojin)
* [yusuke](https://github.com/yusukem99)
* [Patryk Rogalski](https://github.com/digitalix)
* [Robin Raymond](https://github.com/robin-raymond)
* [Jagger Yu](https://github.com/aggresss)
### License
MIT License - see [LICENSE](LICENSE) for full text