-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
206 changed files
with
8,711 additions
and
5,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Publish documentation | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
paths: | ||
- 'docs/**' | ||
- 'README.md' | ||
- '.github/workflows/publish-documentation.yaml' | ||
jobs: | ||
publish: | ||
name: Publish documentation to GitHub Pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get latest GitHub Pages | ||
run: | | ||
wget https://github.com/${{ github.repository }}/archive/gh-pages.zip | ||
unzip gh-pages.zip | ||
mkdir public -p | ||
cp -R ${GITHUB_REPOSITORY#*/}-gh-pages/. public | ||
- name: Copy master documentation | ||
if: github.ref == 'refs/heads/master' | ||
run: | | ||
cp README.md public/ | ||
cp -R docs public/ | ||
- name: Copy develop documentation | ||
if: github.ref == 'refs/heads/develop' | ||
run: | | ||
mkdir public/dev -p | ||
cp README.md public/dev/ | ||
cp -R docs public/dev/ | ||
- name: Deploy | ||
uses: peaceiris/[email protected] | ||
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
publish_branch: gh-pages | ||
publish_dir: ./public | ||
enable_jekyll: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Publish update-site | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
paths: | ||
- 'viewer/**' | ||
- 'templates/eclipse_project/**' | ||
- '.github/workflows/publish-update-site.yaml' | ||
jobs: | ||
publish: | ||
name: Publish update-site to GitHub Pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'liberica' | ||
java-package: jdk+fx # нужен FX | ||
architecture: x64 | ||
cache: 'maven' | ||
server-id: dt_repository # реджестри пакетов 1С | ||
server-username: ${{ secrets.MAVEN_USERNAME }} # храниться в секретах | ||
server-password: ${{ secrets.MAVEN_CENTRAL_TOKEN }} # храниться в секретах в открытом виде | ||
|
||
- name: Get latest GitHub Pages | ||
run: | | ||
wget https://github.com/${{ github.repository }}/archive/gh-pages.zip | ||
unzip gh-pages.zip | ||
mkdir public -p | ||
cp -R ${GITHUB_REPOSITORY#*/}-gh-pages/. public | ||
- name: Build master update site | ||
if: github.ref == 'refs/heads/master' | ||
run: | | ||
export publication_location=../../../public/repository | ||
export MAVEN_OPTS= | ||
./gradlew download-lombok-plugin | ||
export MAVEN_OPTS=-javaagent:target/lombok.jar=ECJ | ||
./gradlew publishPlugin | ||
- name: Build develop update site | ||
if: github.ref == 'refs/heads/develop' | ||
run: | | ||
export publication_location=../../../public/dev/repository | ||
export site_label_suffix='DEV. ' | ||
export MAVEN_OPTS= | ||
./gradlew download-lombok-plugin | ||
export MAVEN_OPTS=-javaagent:target/lombok.jar=ECJ | ||
./gradlew publishPlugin | ||
- name: Deploy | ||
uses: peaceiris/[email protected] | ||
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
publish_branch: gh-pages | ||
publish_dir: ./public | ||
enable_jekyll: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Схема наименования | ||
|
||
## Схема наименования модулей | ||
|
||
Все тесты должны располагаться в общих модулях. | ||
|
||
Имя тестового модуля должно соответствовать шаблону `[Префикс типа объекта_][Имя проверяемого объект]{_Суффикс типа модуля}`, где суффикс не обязателен, но крайне желателен. | ||
|
||
По правильно названному модулю мы можем с легкостью получить информацию о типе тестируемого объекта и его имени, а также тип его модуля, методы которого проверяем. Список поддерживаемых суффиксов и префиксов приведен в таблицах ниже. | ||
|
||
### Префиксы типов объекта | ||
|
||
| Тип тестируемого объекта | Префикс | Пример | | ||
| ------------------------ | ------- | ------------------------------------------- | | ||
| Общий модуль | ОМ_ | ОМ_ОбщегоНазначения | | ||
| Регистр бухгалтерии | РБ_ | РБ_Хозрасчетный, РБ_Хозрасчетный_НЗ | | ||
| Регистр накопления | РН_ | РН_ОстаткиНаСкладах, РН_ОстаткиНаСкладах_ММ | | ||
| Регистр расчета | РР_ | РР_Зарплата, РР_Зарплата_НЗ | | ||
| Регистр сведений | РС_ | РС_АдресныйКлассификатор | | ||
| Бизнес процесс | БП_ | БП_Согласование | | ||
| Справочник | Спр_ | Спр_Пользователи, Спр_Пользователи_МО | | ||
| План счетов | ПС_ | ПС_Хозрасчетный | | ||
| План видов расчета | ПВР_ | ПВР_Зарплатный | | ||
| План видов характеристик | ПВХ_ | ПВХ_Субконто, ПВХ_Субконто_ММ | | ||
| Документ | Док_ | Док_ПКО | | ||
| Перечисление | Пер_ | Пер_СтатусСогласования | | ||
| План обмена | ПО_ | ПО_РИБ, ПО_РИБ_ММ | | ||
| Задача | Зад_ | Зад_Задача | | ||
| Обработка | Обр_ | Обр_ЗакрытиеМесяца, Обр_ЗакрытиеМесяца_МО | | ||
| Отчет | Отч_ | Отч_УниверсальныйОтчет | | ||
|
||
### Суффиксы типов модулей | ||
|
||
| Тип тестируемого модуля | Суффикс | Пример | | ||
| ----------------------- | -------------- | ------------------------------------------ | | ||
| Общий модуль | <Без суффикса> | ОМ_ОбщегоНазначения | | ||
| Модуль объекта | _МО | Спр_Пользователи_МО, Обр_ЗакрытиеМесяца_МО | | ||
| Модуль менеджера | _ММ | ПВХ_Субконто_ММ, ПО_РИБ_ММ | | ||
| Модуль набора записей | _НЗ | РБ_Хозрасчетный_НЗ, РР_Зарплата_НЗ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.