Skip to content

Commit 2fac617

Browse files
committed
Clean slate commit
1 parent ad98d1e commit 2fac617

File tree

7 files changed

+88
-0
lines changed

7 files changed

+88
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3+
latest.7z filter=lfs diff=lfs merge=lfs -text
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Update biog_ref
2+
3+
on:
4+
push:
5+
paths:
6+
- 'latest.7z'
7+
8+
jobs:
9+
workflow_dispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger Workflow
13+
run: |
14+
curl -X POST -H "Authorization: token ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/cbdb-project/biogref_CBDB/actions/workflows/59447307/dispatches -d '{"ref": "master"}'
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Create new project tasks when latest.7z updated
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- 'latest.7z'
8+
jobs:
9+
create-item:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Get file contents
14+
run: echo "latest.7z=$(cat latest.7z)"
15+
- name: Create item in task
16+
run: |
17+
curl -X POST \
18+
-H "Authorization: Bearer ${{ secrets.GH_TOKEN}}" \
19+
-H "Content-Type: application/json" \
20+
-d '{
21+
"title": "Update tasks when CBDB SQLite updated",
22+
"body": "Confirm that 1. you have deleted 待删除/待刪除. 2. Merged persons by using one drive and Peter's disambiguation sheet. 3. Create CBDB_NAME_LIST on MaraDB. 4. Update the contributions from our crowdsourcing group. 5. Please update API, biog_ref, calculate index year by Access, update index year to API + inputting system, send data dump to ChineseAll, and send data to CBDB Line. 6. Update the CSA SQLite database. 7. update 上圖 linked open data. 8. update huggingface cbdb sqlite(CBDB_yyyymmdd and CBDB_ZZZ_tables_yyyymmdd) before github. 9. update dataverse. 10 update the all the historical update log page. 11 update code_office and code_addr programs",
23+
}' \
24+
https://api.github.com/orgs/cbdb-project/projects/3/items

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Update NECHR
2+
3+
on:
4+
push:
5+
paths:
6+
- 'latest.7z'
7+
8+
jobs:
9+
workflow_dispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger Workflow
13+
run: |
14+
curl -X POST -H "Authorization: token ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/cbdb-project/named-entities-for-premodern-chinese-history-research/actions/workflows/57137209/dispatches -d '{"ref": "main"}'

.github/workflows/update_cds.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Update cbdb-data-summarization
2+
3+
on:
4+
push:
5+
paths:
6+
- 'latest.7z'
7+
workflow_dispatch:
8+
9+
jobs:
10+
workflow_dispatch:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Trigger Workflow
14+
run: |
15+
curl -X POST -H "Authorization: token ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/cbdb-project/cbdb-data-summarization/actions/workflows/67052455/dispatches -d '{"ref": "main"}'

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# cbdb_sqlite
2+
3+
[**latest.7z**](https://github.com/cbdb-project/cbdb_sqlite/blob/master/latest.7z) - The latest SQLite version of the [China Biographical Database](https://projects.iq.harvard.edu/cbdb/home)
4+
5+
You can also download it from huggingface:
6+
7+
https://huggingface.co/datasets/cbdb/cbdb-sqlite/blob/main/latest.7z
8+
9+
Or download the 7z directly:
10+
11+
https://huggingface.co/datasets/cbdb/cbdb-sqlite/resolve/main/latest.7z?download=true
12+
13+
[**latest_ZZZ_tables.7z**](https://huggingface.co/datasets/cbdb/cbdb-sqlite/blob/main/latest_ZZZ_tables.7z) - The latest SQLite version of the [China Biographical Database](https://projects.iq.harvard.edu/cbdb/home) includes pre-queried tables
14+
15+
You can download the history SQLite databases from the [CBDB Hugging Face account](https://huggingface.co/datasets/cbdb/cbdb-sqlite/tree/main/history)
16+
17+

latest.7z

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:77c5115527de7224e9c873ed96258a0e280b90cb0e664ae13f7a1d93d558f1fe
3+
size 176488000

0 commit comments

Comments
 (0)