Compare commits
15
Commits
25fc28a20b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b29c1715a4 | ||
|
|
be7f4cbef0 | ||
|
|
bb39888919 | ||
|
|
f1aac9a5a5 | ||
|
|
3b97693a13 | ||
|
|
d23c97b5c4 | ||
|
|
c7c28cae70 | ||
|
|
f778b72109 | ||
|
|
262c937dd3 | ||
|
|
f409dda628 | ||
|
|
e556c12c41 | ||
|
|
d4bf242536 | ||
|
|
8f217f6630 | ||
|
|
c7940b5c07 | ||
|
|
94e65900b7 |
+14
@@ -0,0 +1,14 @@
|
||||
kind: pipeline
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go test
|
||||
- go build
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: octocat/hello-world
|
||||
tags: [ latest, 1.0, 1 ]
|
||||
@@ -0,0 +1 @@
|
||||
custom: https://www.patreon.com/EuroCMS
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Version:**
|
||||
- EuroCMS version: [e.g. XX.XX]
|
||||
- OS/Distribution and version: [e.g. Ubuntu 22.04]
|
||||
- PHP version: [e.g. PHP 8.2]
|
||||
- Web server: [e.g. NGINX 2.20.11, Apache ....]
|
||||
- Installation method: [e.g. native, containerized]
|
||||
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: Question
|
||||
about: Ask a question
|
||||
title: ''
|
||||
labels: question
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Question:**
|
||||
A clear and concise statement of your question.
|
||||
|
||||
**Version:**
|
||||
- EuroCMS version: [e.g. XX.XX]
|
||||
- OS/Distribution and version: [e.g. Ubuntu 22.04]
|
||||
- PHP version: [e.g. PHP 8.2]
|
||||
- Web server: [e.g. NGINX 2.20.11, Apache ....]
|
||||
- Installation method: [e.g. native, containerized]
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# .gitea/workflows/build.yaml
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# This workflow uses actions that are not certified by GitHub.
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
# ESLint is a tool for identifying and reporting on patterns
|
||||
# found in ECMAScript/JavaScript code.
|
||||
# More details at https://github.com/eslint/eslint
|
||||
# and https://eslint.org
|
||||
|
||||
name: ESLint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "gtk4" ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ "gtk4" ]
|
||||
schedule:
|
||||
- cron: '38 14 * * 6'
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
name: Run eslint scanning
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install ESLint
|
||||
run: |
|
||||
npm install eslint@8.36.0
|
||||
npm install @microsoft/eslint-formatter-sarif@3.0.0
|
||||
|
||||
- name: Run ESLint
|
||||
run: npx eslint .
|
||||
--config src/.eslintrc.json
|
||||
--ext .js,.jsx,.ts,.tsx
|
||||
--format @microsoft/eslint-formatter-sarif
|
||||
--output-file eslint-results.sarif
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload analysis results to GitHub
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
with:
|
||||
sarif_file: eslint-results.sarif
|
||||
wait-for-processing: true
|
||||
@@ -0,0 +1 @@
|
||||
herro?
|
||||
@@ -12,4 +12,41 @@ git config user.name "John Doe"
|
||||
git config user.email "john@doe.org"
|
||||
```
|
||||
|
||||
## Test Commit
|
||||
## Test Commit
|
||||
|
||||
|
||||
|
||||
## Creating a new repository on the command line
|
||||
|
||||
```bash
|
||||
touch README.md
|
||||
git init
|
||||
git checkout -b main
|
||||
git add README.md
|
||||
git commit -m "first commit"
|
||||
git remote add origin https://git.eurobytes.eu/imri/Test.git
|
||||
git push -u origin main
|
||||
```
|
||||
## Pushing an existing repository from the command line
|
||||
|
||||
```bash
|
||||
git remote add origin https://git.eurobytes.eu/imri/Test.git
|
||||
git push -u origin main
|
||||
```
|
||||
# How do I make Git forget about a file that was tracked, but is now in .gitignore?
|
||||
|
||||
`.gitignore` will prevent untracked files from being added (without an `add -f`) to the set of files tracked by Git. However, Git will continue to track any files that are already being tracked.
|
||||
|
||||
To stop tracking a file, we must remove it from the index:
|
||||
|
||||
git rm --cached <file>
|
||||
|
||||
To remove a folder and all files in the folder recursively:
|
||||
|
||||
git rm -r --cached <folder>
|
||||
|
||||
The removal of the file from the head revision will happen on the next commit.
|
||||
|
||||
**WARNING: While this will not remove the physical file from your local machine, it will remove the files from other developers' machines on their next `git pull`.**
|
||||
|
||||
https://stackoverflow.com/a/1274447/1148529
|
||||
|
||||
Reference in New Issue
Block a user