3 Commits
Author SHA1 Message Date
imri 475b75d2a9 Update 'README.md' 2022-10-13 20:36:30 +02:00
imri 1c173592b2 Update 'README.md' 2022-10-03 21:56:21 +02:00
imri 6b9a6eb39d Update 'README.md' 2022-09-28 17:34:05 +02:00
10 changed files with 20 additions and 170 deletions
-14
View File
@@ -1,14 +0,0 @@
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 ]
-1
View File
@@ -1 +0,0 @@
custom: https://www.patreon.com/EuroCMS
-35
View File
@@ -1,35 +0,0 @@
---
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.
-20
View File
@@ -1,20 +0,0 @@
---
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.
-19
View File
@@ -1,19 +0,0 @@
---
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]
-20
View File
@@ -1,20 +0,0 @@
# .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 }}."
-50
View File
@@ -1,50 +0,0 @@
# 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
-1
View File
@@ -1 +0,0 @@
herro?
+20 -8
View File
@@ -35,18 +35,30 @@ git push -u origin main
``` ```
# How do I make Git forget about a file that was tracked, but is now in .gitignore? # 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: The series of commands below will remove all of the items from the Git index (not from the working directory or local repository), and then will update the Git index, while respecting Git ignores. *PS. Index = Cache*
git rm --cached <file> **First:**
To remove a folder and all files in the folder recursively: git rm -r --cached .
git add .
**Then:**
git commit -am "Remove ignored files"
---
Or as a one-liner:
```git
git rm -r --cached . && git add . && git commit -am "Remove ignored files"
```
https://stackoverflow.com/a/19095988
# Further git info
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
-2
View File
@@ -5,7 +5,5 @@
- #187 Task Test New - #187 Task Test New
- Gitea Action Runner test
Tasks Tasks