Skip to content

Commit 41b6841

Browse files
committed
force LF line endings
Depending on how git is configured on Windows, git may attempt to normalize text file line endings to CRLF (\r\n), which results in broken Docker containers being built
0 parents  commit 41b6841

File tree

6,047 files changed

+833477
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,047 files changed

+833477
-0
lines changed

.dockerignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
web/node_modules
2+
web/*.log
3+
web/regression
4+
web/**/tests/
5+
web/**/*.pyc
6+
web/**/__pycache__
7+
.DS_Store
8+
web/pgadmin/messages.pot
9+
web/pgadmin/translations/??/LC_MESSAGES/messages.po
10+
Dockerfile
11+
docs/en_US/_build/**/*
12+
src-build/**/*
13+
dist/**/*

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and normalize end of lines to LF (\n)
2+
* text=auto eol=lf
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve pgAdmin
4+
title: ''
5+
labels: Bug
6+
assignees: ''
7+
8+
---
9+
10+
**_Please note that security bugs or issues should be reported to security@pgadmin.org._**
11+
12+
**Describe the bug**
13+
14+
A clear and concise description of what the bug is.
15+
16+
**To Reproduce**
17+
18+
Steps to reproduce the behavior:
19+
1. Go to '...'
20+
2. Click on '....'
21+
3. See the error
22+
23+
**Expected behavior**
24+
25+
A clear and concise description of what you expected to happen.
26+
27+
**Error message**
28+
29+
If possible, include the full, unedited text of any error messages displayed.
30+
31+
**Screenshots**
32+
33+
If applicable, add screenshots to help explain your problem.
34+
35+
**Desktop (please complete the following information):**
36+
- OS: [e.g. Windows 10, OSX monterey]
37+
- pgAdmin version: [e.g. 6.15]
38+
- Mode: [e.g Desktop or Server]
39+
- Browser (if running in server mode): [e.g. chrome, safari]
40+
- Package type: [e.g. RPM, DEB, Python, Container, etc.]
41+
42+
**Additional context**
43+
44+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea or new feature for pgAdmin
4+
title: ''
5+
labels: Feature
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the solution you'd like**
11+
12+
A clear and concise description of what you want to happen.
13+
14+
**Describe alternatives you've considered**
15+
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
20+
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "docker"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
labels:
8+
- "Dependencies"
9+
commit-message:
10+
prefix: "Docker dependency"
11+
12+
- package-ecosystem: "pip"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"
16+
labels:
17+
- "Dependencies"
18+
commit-message:
19+
prefix: "Python dependency"
20+
21+
- package-ecosystem: "pip"
22+
directory: "/tools"
23+
schedule:
24+
interval: "weekly"
25+
labels:
26+
- "Dependencies"
27+
commit-message:
28+
prefix: "Python dependency"
29+
30+
- package-ecosystem: "pip"
31+
directory: "/web/regression"
32+
schedule:
33+
interval: "weekly"
34+
labels:
35+
- "Dependencies"
36+
commit-message:
37+
prefix: "Python dependency"
38+
39+
- package-ecosystem: "npm"
40+
directory: "/runtime"
41+
schedule:
42+
interval: "weekly"
43+
labels:
44+
- "Dependencies"
45+
commit-message:
46+
prefix: "Javascript dependency"
47+
48+
- package-ecosystem: "npm"
49+
directory: "/web"
50+
schedule:
51+
interval: "weekly"
52+
labels:
53+
- "Dependencies"
54+
commit-message:
55+
prefix: "Javascript dependency"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Check container build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build-container:
17+
runs-on: ubuntu-22.04
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 2
23+
24+
- name: Build the container
25+
uses: docker/build-push-action@v6
26+
with:
27+
push: false
28+
context: .
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Check documentation builds
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build-docs:
17+
runs-on: ubuntu-22.04
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install platform dependencies
23+
run: |
24+
sudo apt update
25+
sudo apt install -y libpq-dev libffi-dev libssl-dev libkrb5-dev zlib1g-dev latexmk texlive-latex-recommended tex-gyre texlive-latex-extra
26+
27+
- name: Install Python dependencies
28+
run: make install-python
29+
30+
- name: Check the HTML build
31+
run: |
32+
. venv/bin/activate
33+
make docs
34+
35+
- name: Archive HTML
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: pgadmin4-html-build-output
39+
path: docs/en_US/_build/html/*
40+
41+
- name: Check the ePub build
42+
run: |
43+
. venv/bin/activate
44+
make docs-epub
45+
46+
- name: Archive ePub
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: pgadmin4-epub-build-output
50+
path: docs/en_US/_build/epub/pgAdmin4.epub
51+
52+
- name: Check the PDF build
53+
run: |
54+
. venv/bin/activate
55+
make docs-pdf
56+
57+
- name: Archive PDF
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: pgadmin4-pdf-build-output
61+
path: docs/en_US/_build/latex/pgadmin4.pdf
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Check Javascript style
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
13+
cancel-in-progress: true
14+
15+
jobs:
16+
check-javascript-style:
17+
runs-on: ubuntu-22.04
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Upgrade yarn
23+
run: |
24+
yarn set version berry
25+
yarn set version 4
26+
27+
- name: Install Node modules
28+
run: |
29+
cd web
30+
yarn install
31+
32+
- name: Run the linter
33+
run: |
34+
cd web
35+
yarn run linter
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Check Python build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build-python-package:
17+
runs-on: ubuntu-22.04
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install platform dependencies
23+
run: |
24+
sudo apt update
25+
sudo apt install -y libpq-dev libffi-dev libssl-dev libkrb5-dev zlib1g-dev
26+
27+
- name: Install Python dependencies
28+
run: make install-python
29+
30+
- name: Check the Python wheel build
31+
run: |
32+
. venv/bin/activate
33+
make pip
34+
35+
- name: Archive Python wheel
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: pgadmin4-python-build-output
39+
path: dist/*
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Check Python style
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
13+
cancel-in-progress: true
14+
15+
jobs:
16+
check-python-style:
17+
runs-on: ubuntu-22.04
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install Python dependencies
23+
run: |
24+
sudo pip install --upgrade pip
25+
sudo pip install pycodestyle
26+
27+
- name: Check the documentation
28+
run: pycodestyle --config=.pycodestyle docs/
29+
30+
- name: Check the packaging
31+
run: pycodestyle --config=.pycodestyle pkg/
32+
33+
- name: Check the application
34+
run: pycodestyle --config=.pycodestyle web/
35+
36+
- name: Check the tools
37+
run: pycodestyle --config=.pycodestyle tools/

0 commit comments

Comments
 (0)