Bläddra i källkod

refactor(minor): pay -> payments

pull/2/head
phot0n 2 år sedan
förälder
incheckning
c4550b8165
15 ändrade filer med 21 tillägg och 21 borttagningar
  1. +4
    -4
      .github/workflows/ci.yml
  2. +1
    -1
      .gitignore
  3. +12
    -12
      MANIFEST.in
  4. +0
    -0
      pay/templates/pages/__init__.py
  5. +0
    -0
      payments/__init__.py
  6. +0
    -0
      payments/config/__init__.py
  7. +0
    -0
      payments/config/desktop.py
  8. +1
    -1
      payments/config/docs.py
  9. +1
    -1
      payments/hooks.py
  10. +0
    -0
      payments/modules.txt
  11. +0
    -0
      payments/patches.txt
  12. +0
    -0
      payments/payments/__init__.py
  13. +0
    -0
      payments/public/.gitkeep
  14. +0
    -0
      payments/templates/__init__.py
  15. +2
    -2
      setup.py

+ 4
- 4
.github/workflows/ci.yml Visa fil

@@ -8,7 +8,7 @@ on:
pull_request: pull_request:


concurrency: concurrency:
group: develop-pay-${{ github.event.number }}
group: develop-payments-${{ github.event.number }}
cancel-in-progress: true cancel-in-progress: true


jobs: jobs:
@@ -73,10 +73,10 @@ jobs:
- name: Install - name: Install
working-directory: /home/runner/frappe-bench working-directory: /home/runner/frappe-bench
run: | run: |
bench get-app pay $GITHUB_WORKSPACE
bench get-app payments $GITHUB_WORKSPACE
bench setup requirements --dev bench setup requirements --dev
bench new-site --db-root-password root --admin-password admin test_site bench new-site --db-root-password root --admin-password admin test_site
bench --site test_site install-app pay
bench --site test_site install-app payments
bench build bench build
env: env:
CI: 'Yes' CI: 'Yes'
@@ -85,6 +85,6 @@ jobs:
working-directory: /home/runner/frappe-bench working-directory: /home/runner/frappe-bench
run: | run: |
bench --site test_site set-config allow_tests true bench --site test_site set-config allow_tests true
bench --site test_site run-tests --app pay
bench --site test_site run-tests --app payments
env: env:
TYPE: server TYPE: server

+ 1
- 1
.gitignore Visa fil

@@ -3,5 +3,5 @@
*.egg-info *.egg-info
*.swp *.swp
tags tags
pay/docs/current
payments/docs/current
node_modules/ node_modules/

+ 12
- 12
MANIFEST.in Visa fil

@@ -4,15 +4,15 @@ include *.json
include *.md include *.md
include *.py include *.py
include *.txt include *.txt
recursive-include pay *.css
recursive-include pay *.csv
recursive-include pay *.html
recursive-include pay *.ico
recursive-include pay *.js
recursive-include pay *.json
recursive-include pay *.md
recursive-include pay *.png
recursive-include pay *.py
recursive-include pay *.svg
recursive-include pay *.txt
recursive-exclude pay *.pyc
recursive-include payments *.css
recursive-include payments *.csv
recursive-include payments *.html
recursive-include payments *.ico
recursive-include payments *.js
recursive-include payments *.json
recursive-include payments *.md
recursive-include payments *.png
recursive-include payments *.py
recursive-include payments *.svg
recursive-include payments *.txt
recursive-exclude payments *.pyc

+ 0
- 0
pay/templates/pages/__init__.py Visa fil


pay/__init__.py → payments/__init__.py Visa fil


pay/config/__init__.py → payments/config/__init__.py Visa fil


pay/config/desktop.py → payments/config/desktop.py Visa fil


pay/config/docs.py → payments/config/docs.py Visa fil

@@ -2,7 +2,7 @@
Configuration for docs Configuration for docs
""" """


# source_link = "https://github.com/[org_name]/pay"
# source_link = "https://github.com/[org_name]/payments"
# headline = "App that does everything" # headline = "App that does everything"
# sub_heading = "Yes, you got that right the first time, everything" # sub_heading = "Yes, you got that right the first time, everything"



pay/hooks.py → payments/hooks.py Visa fil

@@ -1,6 +1,6 @@
from . import __version__ as app_version from . import __version__ as app_version


app_name = "pay"
app_name = "payments"
app_title = "Payments" app_title = "Payments"
app_publisher = "Frappe Technologies" app_publisher = "Frappe Technologies"
app_description = "Payments app for frappe" app_description = "Payments app for frappe"

pay/modules.txt → payments/modules.txt Visa fil


pay/patches.txt → payments/patches.txt Visa fil


pay/payments/__init__.py → payments/payments/__init__.py Visa fil


pay/public/.gitkeep → payments/public/.gitkeep Visa fil


pay/templates/__init__.py → payments/templates/__init__.py Visa fil


+ 2
- 2
setup.py Visa fil

@@ -4,10 +4,10 @@ with open("requirements.txt") as f:
install_requires = f.read().strip().split("\n") install_requires = f.read().strip().split("\n")


# get version from __version__ variable in pay/__init__.py # get version from __version__ variable in pay/__init__.py
from pay import __version__ as version
from payments import __version__ as version


setup( setup(
name="pay",
name="payments",
version=version, version=version,
description="Payments app for frappe", description="Payments app for frappe",
author="Frappe Technologies", author="Frappe Technologies",


Laddar…
Avbryt
Spara