Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PW_SID:642899] [BlueZ,1/6] settings: Add btd_settings_gatt_db_{store,load} #1273

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,22 @@
name: CI

on: [pull_request]

jobs:
ci:
runs-on: ubuntu-latest
name: CI for Pull Request
steps:
- name: Checkout the source code
uses: actions/checkout@v2
with:
path: src

- name: CI
uses: BluezTestBot/action-ci@master
with:
src_path: src
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token : ${{ secrets.PATCHWORK_TOKEN }}

26 changes: 26 additions & 0 deletions .github/workflows/code_scan.yml
@@ -0,0 +1,26 @@
name: Code Scan

on:
schedule:
- cron: "40 7 * * FRI"

jobs:
code-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout the source
uses: actions/checkout@v2
with:
fetch-depth: 0
path: src
- name: Code Scan
uses: BluezTestBot/action-code-scan@main
with:
src_path: src
github_token: ${{ secrets.GITHUB_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
- uses: actions/upload-artifact@v2
with:
name: scan_report
path: scan_report.tar.gz

38 changes: 38 additions & 0 deletions .github/workflows/schedule_work.yml
@@ -0,0 +1,38 @@
name: Scheduled Work

on:
schedule:
- cron: "10,40 * * * *"

jobs:

manage_repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Manage Repo
uses: BluezTestBot/action-manage-repo@master
with:
src_repo: "bluez/bluez"
src_branch: "master"
dest_branch: "master"
workflow_branch: "workflow"
github_token: ${{ secrets.GITHUB_TOKEN }}

create_pr:
needs: manage_repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Patchwork to PR
uses: BluezTestBot/action-patchwork-to-pr@master
with:
pw_key_str: "user"
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}

3 changes: 2 additions & 1 deletion Makefile.am
Expand Up @@ -322,7 +322,8 @@ src_bluetoothd_SOURCES = $(builtin_sources) \
src/dbus-common.c src/dbus-common.h \
src/eir.h src/eir.c \
src/adv_monitor.h src/adv_monitor.c \
src/battery.h src/battery.c
src/battery.h src/battery.c \
src/settings.h src/settings.c
src_bluetoothd_LDADD = lib/libbluetooth-internal.la \
gdbus/libgdbus-internal.la \
src/libshared-glib.la \
Expand Down
9 changes: 7 additions & 2 deletions Makefile.tools
Expand Up @@ -48,9 +48,14 @@ monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \
monitor/broadcom.h monitor/broadcom.c \
monitor/msft.h monitor/msft.c \
monitor/jlink.h monitor/jlink.c \
monitor/tty.h monitor/emulator.h
monitor/tty.h monitor/emulator.h \
monitor/att.h monitor/att.c \
src/log.h src/log.c \
src/textfile.h src/textfile.c \
src/settings.h src/settings.c
monitor_btmon_LDADD = lib/libbluetooth-internal.la \
src/libshared-mainloop.la $(UDEV_LIBS) -ldl
src/libshared-mainloop.la \
$(GLIB_LIBS) $(UDEV_LIBS) -ldl

if MANPAGES
man_MANS += monitor/btmon.1
Expand Down