Skip to content

Commit

Permalink
switch to codeberg
Browse files Browse the repository at this point in the history
  • Loading branch information
sp1thas committed Dec 28, 2024
1 parent acfcf41 commit 2cdecae
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 19 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<div align="center">
<h1>dropboxignore</h1>
<img src="https://raw.githubusercontent.com/sp1thas/dropboxignore/master/docs/static/icons/128.png" alt="dropboxignore-logo">
<img src="https://codeberg.org/sp1thas/dropboxignore/raw/branch/master/docs/static/icons/128.png" alt="dropboxignore-logo">
<p>It's all about the missing <code>.dropboxignore</code> file.</p>
<img src="https://github.com/sp1thas/dropboxignore/workflows/Testing/badge.svg">
<img src="https://github.com/sp1thas/dropboxignore/workflows/Shellcheck/badge.svg">
<a href='https://dropboxignore.simakis.me/en/latest/?utm=gh'>
<img src='https://github.com/sp1thas/dropboxignore/actions/workflows/docs-deployment.yml/badge.svg' alt='Documentation Status' />
<a href='https://results.pre-commit.ci/latest/github/sp1thas/dropboxignore/master'>
<img src='https://results.pre-commit.ci/badge/github/sp1thas/dropboxignore/master.svg' alt='pre-commit.ci status' />
</a>
<a href="https://codecov.io/gh/sp1thas/dropboxignore">
<img src="https://codecov.io/gh/sp1thas/dropboxignore/branch/master/graph/badge.svg?token=LBVA80F2DV"/>
Expand Down Expand Up @@ -38,10 +36,10 @@ dropboxignore is installed by running one of the following commands in your term

| Method | Command |
|--------|----------------------------------------------------------------|
| curl | <code>sudo sh -c "$(curl -fsSL https://rb.gy/g4plll)" c</code> |
| wget | <code>sudo sh -c "$(wget -qO- https://rb.gy/g4plll)" w</code> |
| curl | <code>sudo sh -c "$(curl -fsSL https://rb.gy/nnp9p9)" c</code> |
| wget | <code>sudo sh -c "$(wget -qO- https://rb.gy/nnp9p9)" w</code> |

Worried about mysterious shorted urls like? Take a look at the installation script here: [`https://rb.gy/g4plll --> https://raw.githubusercontent.com/sp1thas/dropboxignore/master/src/utils/install.sh`](https://raw.githubusercontent.com/sp1thas/dropboxignore/master/src/utils/install.sh))
Worried about mysterious shorted urls like? Take a look at the installation script here: [`https://rb.gy/nnp9p9 --> https://codeberg.org/sp1thas/dropboxignore/raw/branch/master/src/utils/install.sh`](https://codeberg.org/sp1thas/dropboxignore/raw/branch/master/src/utils/install.sh))
### Snap

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/dropboxignore)
Expand All @@ -58,7 +56,7 @@ $ flatpak install flathub me.simakis.dropboxignore

### From source
```shell
$ git clone https://github.com/sp1thas/dropboxignore.git
$ git clone https://codeberg.org/sp1thas/dropboxignore.git
$ cd dropboxignore
$ make test # optional step, Docker and docker-compose should be installed
$ sudo make install
Expand Down Expand Up @@ -90,7 +88,7 @@ $ dropboxignore genupi .

**Warning:** In order to prevent unpleasant data losses, exception patterns are not supported. Both `.gitignore` and
`.dropboxignore` files with at least one exceptional pattern will be bypassed (for further details:
[#3](https://github.com/sp1thas/dropboxignore/issues/3)).
[#3](https://codeberg.org/sp1thas/dropboxignore/issues/3)).

**Note:** Automatic generation of `.dropboxignore` files is an optional step, therefore, may not be a necessary action
for your case.
Expand Down
6 changes: 3 additions & 3 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ improving the documentation, adding extra test-cases, submitting bug reports and

For something that is bigger than a one or two line fix:

1. Fork the [repo](https://github.com/sp1thas/dropboxignore)
1. Fork the [repo](https://codeberg.org/sp1thas/dropboxignore.git)
2. Commit the changes
3. If you like the change and think the project could use it:
* Be sure you have followed the code style for the project.
Expand All @@ -18,12 +18,12 @@ For something that is bigger than a one or two line fix:

## How to report a bug

Go to [the issue tracker](https://github.com/sp1thas/dropboxignore/issues) and create a new issue and follow the
Go to [the issue tracker](https://codeberg.org/sp1thas/dropboxignore/issues) and create a new issue and follow the
template.

## Contributors

**Made with ❤️ by**:
<a href="https://github.com/sp1thas/dropboxignore/graphs/contributors">
<a href="https://codeberg.org/sp1thas/dropboxignore/activity/contributors">
<img src="https://contrib.rocks/image?repo=sp1thas/dropboxignore" style="height: 30px;"/>
</a>
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ dropboxignore genupi .
!!! warning "Important warning"
In order to prevent unpleasant data losses, exception patterns are not supported. Both `.gitignore` and
`.dropboxignore` files with at least one exceptional pattern will be bypassed (for further details:
[#3](https://github.com/sp1thas/dropboxignore/issues/3)).
[#3](https://codeberg.org/sp1thas/dropboxignore/issues/3)).

!!! note "Keep in mind"
Automatic generation of `.dropboxignore` files is an optional step, therefore, may not be a necessary action for
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Linux systems. For macOS, Homebrew is required.
sudo sh -c "$(wget -qO- https://rb.gy/g4plll)" w
```

Worried about mysterious shorted urls like? Take a look at the installation script here: [`https://rb.gy/g4plll`](https://rb.gy/g4plll) --> [`https://raw.githubusercontent.com/sp1thas/.../install.sh`](https://raw.githubusercontent.com/sp1thas/dropboxignore/master/src/utils/install.sh)
Worried about mysterious shorted urls like? Take a look at the installation script here: [`https://rb.gy/nnp9p9`](https://rb.gy/nnp9p9) --> [`https://codeberg.org/sp1thas/dropboxignore/.../install.sh`](https://codeberg.org/sp1thas/dropboxignore/raw/branch/master/src/utils/install.sh)

=== "Snap"

Expand All @@ -37,7 +37,7 @@ Linux systems. For macOS, Homebrew is required.
Make source that the following packages are installed in your system: `git`, `attr`

```bash
git clone https://github.com/sp1thas/dropboxignore.git
git clone https://codeberg.org/sp1thas/dropboxignore.git
cd dropboxignore
make test # optional step, Docker and docker-compose should be installed
sudo make install
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ parts:
plugin: nil
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(curl -sSL https://raw.githubusercontent.com/sp1thas/dropboxignore/master/src/lib/modules/base.sh | grep -oP '^VERSION=(.*)$' | sed -r 's/^VERSION=//')"
snapcraftctl set-version "$(curl -sSL https://codeberg.org/sp1thas/dropboxignore/raw/branch/master/src/lib/modules/base.sh | grep -oP '^VERSION=(.*)$' | sed -r 's/^VERSION=//')"
main-part:
stage-packages:
- attr
source-type: git
source: https://github.com/sp1thas/dropboxignore.git
source: https://codeberg.org/sp1thas/dropboxignore.git
plugin: dump
2 changes: 1 addition & 1 deletion src/utils/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi

# Install dropboxignore command
rm -rf /usr/local/bin/dropboxignore
git clone https://github.com/sp1thas/dropboxignore.git
git clone https://codeberg.org/sp1thas/dropboxignore.git
make -C dropboxignore install
rm -rf dropboxignore/

Expand Down

0 comments on commit 2cdecae

Please sign in to comment.