Skip to content

Commit faa3692

Browse files
authored
Dev changes (#27)
* Dev changes * Workflow configurations * Added ignore path * Workflow fix * Dev fixes * Psalm fixes * Added app description Removed custom funding method Added gitattribues 3rdpatry folder ignore * Removed custom option * Added development notice to the description * Fix end of files * Temporal removal of app signing Added changelog
1 parent 914cb8b commit faa3692

File tree

11 files changed

+77
-108
lines changed

11 files changed

+77
-108
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ lib/TProto/* binary
2020

2121
# Files to exclude from GitHub Languages statistics
2222
*.Dockerfile linguist-vendored=true
23+
3rdparty/* linguist-vendored=true

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: cloud_py_api
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: ['https://www.paypal.com/donate?hosted_button_id=H5PLJJMWLDNJQ']
12+
custom:

.github/workflows/create-release-draft.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -49,50 +49,50 @@ jobs:
4949
- name: Package app
5050
run: krankerl package
5151

52-
- name: Get nextcloud-min-version from appinfo
53-
id: appinfo
54-
uses: skjnldsv/xpath-action@master
55-
with:
56-
filename: ${{ env.APP_NAME }}/appinfo/info.xml
57-
expression: "//info//dependencies//nextcloud/@min-version"
52+
# - name: Get nextcloud-min-version from appinfo
53+
# id: appinfo
54+
# uses: skjnldsv/xpath-action@master
55+
# with:
56+
# filename: ${{ env.APP_NAME }}/appinfo/info.xml
57+
# expression: "//info//dependencies//nextcloud/@min-version"
5858

59-
- name: Cache nextcloud server
60-
id: nextcloud_setup
61-
uses: actions/cache@v3
62-
with:
63-
path: nextcloud-${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}.zip
64-
key: ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
59+
# - name: Cache nextcloud server
60+
# id: nextcloud_setup
61+
# uses: actions/cache@v3
62+
# with:
63+
# path: nextcloud-${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}.zip
64+
# key: ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
6565

66-
- name: Download nextcloud${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
67-
if: steps.nextcloud_setup.outputs.cache-hit != 'true'
68-
continue-on-error: true
69-
id: server-checkout
70-
run: |
71-
NCVERSION=${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
72-
wget --quiet https://download.nextcloud.com/server/releases/latest-$NCVERSION.zip
73-
unzip latest-$NCVERSION.zip
66+
# - name: Download nextcloud${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
67+
# if: steps.nextcloud_setup.outputs.cache-hit != 'true'
68+
# continue-on-error: true
69+
# id: server-checkout
70+
# run: |
71+
# NCVERSION=${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
72+
# wget --quiet https://download.nextcloud.com/server/releases/latest-$NCVERSION.zip
73+
# unzip latest-$NCVERSION.zip
7474

75-
- name: Checkout server master fallback
76-
uses: actions/checkout@v3
77-
if: ${{ steps.server-checkout.outcome != 'success' }}
78-
with:
79-
repository: nextcloud/server
80-
path: nextcloud
75+
# - name: Checkout server master fallback
76+
# uses: actions/checkout@v3
77+
# if: ${{ steps.server-checkout.outcome != 'success' }}
78+
# with:
79+
# repository: nextcloud/server
80+
# path: nextcloud
8181

82-
- name: Sign app
83-
run: |
84-
# Extracting release
85-
cd ${{ env.APP_NAME }}/build/artifacts
86-
tar -xvf ${{ env.APP_NAME }}.tar.gz
87-
cd ../../../
88-
# Setting up keys
89-
echo "${{ secrets.APP_PRIVATE_KEY }}" > ${{ env.APP_NAME }}.key
90-
echo "${{ secrets.APP_PUBLIC_CRT }}" > ${{ env.APP_NAME.key }}
91-
# Signing
92-
php nextcloud/occ integrity:sign-app --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt --path=../${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}
93-
# Rebuilding archive
94-
cd ${{ env.APP_NAME }}/build/artifacts
95-
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
82+
# - name: Sign app
83+
# run: |
84+
# # Extracting release
85+
# cd ${{ env.APP_NAME }}/build/artifacts
86+
# tar -xvf ${{ env.APP_NAME }}.tar.gz
87+
# cd ../../../
88+
# # Setting up keys
89+
# echo "${{ secrets.APP_PRIVATE_KEY }}" > ${{ env.APP_NAME }}.key
90+
# echo "${{ secrets.APP_PUBLIC_CRT }}" > ${{ env.APP_NAME.key }}
91+
# # Signing
92+
# php nextcloud/occ integrity:sign-app --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt --path=../${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}
93+
# # Rebuilding archive
94+
# cd ${{ env.APP_NAME }}/build/artifacts
95+
# tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
9696

9797
- name: Create release draft
9898
uses: ncipollo/[email protected]

.github/workflows/lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Lint
22

33
on:
44
pull_request:
5-
branches: [main]
6-
types: [opened, reopened, edited, synchronize]
75
paths:
86
- 'appinfo/*.*'
97
- 'lib/**'
@@ -13,7 +11,6 @@ on:
1311
- 'tests/Integration/**'
1412
- 'tests/javascript/**'
1513
push:
16-
branches: [main]
1714
paths:
1815
- 'appinfo/*.*'
1916
- 'lib/*.*'

.github/workflows/nightly-build.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Test
22

33
on:
44
pull_request:
5-
branches: [main]
6-
types: [opened, reopened, edited, synchronize]
75
paths:
86
- 'lib/*.*'
97
- 'src/*.*'
@@ -12,7 +10,6 @@ on:
1210
- 'tests/Integration/**'
1311
- 'tests/javascript/**'
1412
push:
15-
branches: [main]
1613
paths:
1714
- 'lib/*.*'
1815
- 'src/*.*'

CHANGELOG.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [0.0.7 - 2022-12-14]
5+
## [0.1.0 - 2022-12-xx]
6+
7+
This is the first `cloud_py_api` release
68

79
### Added
810

9-
- FS functions:
11+
- Added MediaDC get file contents command
12+
- Added Utils service for general actions
13+
- Added Python service for running python scripts or binaries
14+
- Added Python FS functions:
1015
* `fs_node_info`
1116
* `fs_list_directory`
1217
* `fs_file_data`
@@ -15,19 +20,3 @@ All notable changes to this project will be documented in this file.
1520
* `fs_extract_sub_dirs`
1621
* `fs_filter_by`
1722
* `fs_sort_by_id`
18-
19-
### Changed
20-
21-
### Fixed
22-
23-
- Description, CI & CD stuff...
24-
25-
## [0.0.6 - 2022-11-26]
26-
27-
### Added
28-
29-
- Deep, deep pre-Alpha. Just POC, that it works.
30-
31-
### Changed
32-
33-
### Fixed

appinfo/info.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@
77
<description>
88
<![CDATA[
99
Nextcloud Python API Framework
10+
11+
| **Currently in development, all is in a design state**
12+
13+
### Provides Convenient Functions for Python
14+
15+
- Read & Write File System objects
16+
- Working with Database
17+
- Wrapper around `OCC` calls
18+
- Calling your python function from php part of app and return a result
19+
20+
### Used by apps
21+
22+
- [MediaDC](https://apps.nextcloud.com/apps/mediadc) - Nextcloud Media Duplicate Collector app
23+
24+
### Support
25+
26+
You can support us in several ways:
27+
28+
- ⭐ Star our work (it really motivates)
29+
- ❗ Create an Issue or feature request (bring to us an excellent idea)
30+
- 💁 Resolve some Issue or create a Pull Request (contribute to this project)
31+
- 🪙 Donate with any amount with one of the links below (fund this project)
32+
33+
[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=H5PLJJMWLDNJQ)
34+
[![Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/cloud_py_api/donate)
1035
]]>
1136
</description>
1237
<version>0.1.0</version>

tests/javascript/unit/mixins/Nextcloudl10n.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ describe('mixins/Nextcloudl10n test', () => {
7575
expect(wrapper.vm.n('cloud_py_api', 'Test text', 'Test texts', len)).toBe(expected)
7676
})
7777

78-
})
78+
})

tests/javascript/unit/stubs/MockComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
export default {
3131
name: 'MockComponent'
3232
}
33-
</script>
33+
</script>

tests/javascript/unit/stubs/empty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default {}
1+
export default {}

0 commit comments

Comments
 (0)