2 Commits
v4.5.6 ... pr-1

Author SHA1 Message Date
Stephan
378d1f9e27 meh 2021-10-13 17:09:31 +02:00
Stephan
f2a442f05d random 2021-09-21 17:25:36 +02:00
13 changed files with 23 additions and 154 deletions

View File

@@ -1,82 +0,0 @@
name: Symlink Test
on:
# trigger on push to any branch
push:
branches-ignore:
- 'release/*'
tags-ignore:
- '*'
jobs:
# try to create and push the symlink
symlink-test:
name: Symlink Test
runs-on: windows-latest
steps:
# checkout the code
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
# symlink via bash
# this does *not* create a symlink, but a directory
#- name: Symlink Bash
# shell: bash
# run: |
# if ! [ -L bang ]; then
# ln -s duh bang
# ls -l
# git config --global user.email "stephan@REDACTED.com"
# git config --global user.name "Stephan"
# git config --global core.symlinks "true"
# git add bang
# git commit -m "created symlink"
# fi
# symlink via pwsh
# this creates a 'bang' file that contains 'duh'
# on local machine, it fails 'New-Item: Administrator privilege required for this operation.'
#
# update: it creates *something* that is listed as a directory in the log,
# and that GitHub represents as a link, so it has to be a link, but when
# I check the thing out, it's a file
# because Windows won't create the link but on Linux, it's checked out as a link
#
#- name: Symlink Pwsh
# shell: pwsh
# run: |
# if (! (test-path bang)) {
# New-Item -ItemType SymbolicLink -Name bang -Target duh
# write-output "DIR:"
# ls .
# write-output "DIR:"
# ls bang
# git config --global user.email "stephan@REDACTED.com"
# git config --global user.name "Stephan"
# git config --global core.symlinks "true"
# git add bang
# git commit -m "created symlink"
# }
# see
# this just creates the symlink in Git - works on Windows
# BUT will be checked out as a file and we don't care
- name: Symlink Git
shell: bash
run: |
if ! [ -f "bang" ]; then
git update-index --add --cacheinfo 120000 "$(echo "duh" | git hash-object -w --stdin)" "bang"
git config --global user.email "stephan@REDACTED.com"
git config --global user.name "Stephan"
git commit -m "created symlink"
fi
# push changes back
- name: Push
shell: bash
run: git push

View File

@@ -1,25 +0,0 @@
name: Test Push
on: push
jobs:
foo:
name: Foo
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{github.ref}}
- name: Foo
shell: bash
run: |
echo "foo" >> foo.txt
- name: Push
shell: bash
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@hazelcast.com"
git add foo.txt
git commit -m "Foo"
git push

View File

@@ -1,34 +0,0 @@
# A Git(Hub) Test Repository
TESTING
Hey! This is my personal Git(Hub) Test Repository where I experiment with Git and GitHub.
If you are new to Git and GitHub and found this repository through Google: feel free to clone the repository and experiment with it! You will not be able to push back to the repository, as it is *my* repository and I cannot let everybody push to it. The right way to do it on GitHub is:
1. fork the repository in your own account,
2. make changes and push them in a branch of your own fork,
3. create a Pull Request in my repository.
I will get notified, will review the changes that you propose, and eventually will either merge the changes, or reject them. This *may* take some time as I am not actively monitoring nor maintaining this repository, as you can guess, but I try to be helpful ;)
Don't expect to find anything meaningful nor useful in the repository. Also, I happen to force-push a reset of everything from time to time. This means that I reset all history, including changes that you may have submitted. In theory, noone ever does this to a repository. But hey, this is a *test* repository after all.
The rest of this README file is mostly random stuff.
Clone the repository with: `git clone https://github.com/zpqrtbnk/test-repo.git .`
We have test GitHUb pages (from the `gh-pages` branch) at: http://zpqrtbnk.github.io/test-repo/
We have an image in the README (markdown)
![Image](https://raw.github.com/zpqrtbnk/test-repo/master/wtf.jpg)
We have an image in the README (html)
<img src="./wtf.jpg" />
We have an image in the README (more html)
<p align="center" style="background:#000;padding:5px;color:#fff;font-size:150%;margin-bottom:64px">
<img src="./wtf.jpg" />
<span style="margin-left:48px;">wubble</span>
</p>

View File

@@ -1 +0,0 @@
INDEX.md

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# test-repo
A Git(Hub) Test Repository
`git clone https://github.com/zpqrtbnk/test-repo.git .`
We have pages at: http://zpqrtbnk.github.io/test-repo/
We have an image in the README
![Image](https://raw.github.com/zpqrtbnk/test-repo/master/wtf.jpg)
etc
etc
<img src="./wtf.jpg" />
<p align="center" style="background:#000;padding:5px;color:#fff;font-size:150%;margin-bottom:64px">
<img src="./wtf.jpg" />
<span style="margin-left:48px;">wubble</span>
</p>

1
bang
View File

@@ -1 +0,0 @@
duh

View File

@@ -1,3 +0,0 @@
this is a new file only in my branch
changing something that won't conflict in master

View File

@@ -1 +0,0 @@
duh

View File

@@ -1 +0,0 @@
bah

View File

@@ -1 +0,0 @@
duh

3
e.txt
View File

@@ -1,3 +0,0 @@
e
MiNor Change

View File

@@ -1,2 +0,0 @@
foo
foo

1
meh.txt Normal file
View File

@@ -0,0 +1 @@
meh

1
random.txt Normal file
View File

@@ -0,0 +1 @@
xxx