profile
viewpoint
Orhun Parmaksız orhun @archlinux Ankara, Turkey orhun.dev FOSS developer, @archlinux packager, oxidizing things with @rust-lang

fishfight/FishFight 436

Fish Fight is a tactical 2D shooter. Made with Rust-lang and Macroquad 🦀🌶

orhun/ApkServInject 26

Tool for injecting (smali) services to APK files

orhun/Black-Waves 5

A wavy dark theme for VSCode

orhun/base16-kermit 3

Base16 for kermit

orhun/apng 2

animated png encoder 🦀

grapheneX/grapheneX.github.io 1

Official website of the grapheneX project

orhun/0x0 1

No-bullshit file hosting and URL shortening service

orhun/0x0-sh 1

curl wrapper script to upload local or remote files to 0x0.st

orhun/ali 1

Generate HTTP load and plot the results in real-time

startedactix/actix

started time in 12 hours

push eventorhun/PKGBUILDs

Orhun Parmaksız

commit sha 57d2258699cc6d8fec58dc53af6c07d54f8279c7

upgpkg: termusic 0.6.6-1 upstream release

view details

push time in 18 hours

push eventorhun/systeroid

Orhun Parmaksız

commit sha 214edad37fbab81ff77e46e41ad56d91e87cb2b6

feat(tui): add cursor handling to input prompt

view details

push time in 19 hours

startedrhboot/shim

started time in a day

issue commentorhun/git-cliff

Allow minimal settings to build on defaults

Good point 👍🏼

I pushed 8202e37 and e02ae0b thus the following config is totally valid now:

meaning that you can set the values that you want to be different from the defaults.

I will be updating README.md to mention the default values for optional configuration entries soon.

Feel free to try it out and let me know if this solves the issue 🐻

alerque

comment created time in a day

push eventorhun/git-cliff

Orhun Parmaksız

commit sha 8bb48b09ef4488e4fb6b03a43e1d862b4645971b

fix(test): update tests about optional config values

view details

push time in a day

push eventorhun/git-cliff

Orhun Parmaksız

commit sha 3b3ef7e4d8d2cb680419e7175bc948b895c7de24

refactor(config)!: change the default value of `trim` to `true`

view details

Orhun Parmaksız

commit sha 8202e37dbd5dd98b3f9de8470e41776b5afb1b51

feat(config): make the `git` section optional (#45)

view details

Orhun Parmaksız

commit sha e02ae0b3661b3379175a10cb273a9c7744747765

feat(config): make the `changelog` section optional (#45)

view details

push time in a day

push eventorhun/git-cliff

Orhun Parmaksız

commit sha dcb3141ac969c52009f3f13314da65f1cf0e2604

style(readme): update the styling

view details

Orhun Parmaksız

commit sha dce09d71a05f5d1e1d8939d688d19c4740ba6a93

docs(readme): update template contexts about link_parsers

view details

push time in 2 days

issue closedorhun/git-cliff

Previous not populated when using --latest and skip_tags are set but don't match

Describe the bug If skip_tags is defined with a regex that correctly generates the changelog (by skipping the correct/defined ones), there is a regression when setting previous and using --latest which was supposed to be fixed here: https://github.com/orhun/git-cliff/issues/3

But it looks like if you use --latest in combination with skip_tags, even if the pattern should not match the tag at all, it will simply not populate the previous field. This might have been introduced here(?): https://github.com/orhun/git-cliff/commit/7f867ae647ff30f54aae314596cbc7c7ce4f50c1

If I remove the skip_tags from the config while generating with --latest, previous is populated as expected.

To Reproduce Steps to reproduce the behavior:

[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.\n
"""
body = """
{% if version %}\
    # [{{ version | trim_start_matches(pat="v") }}]\
    {% if previous %}\
        {% if previous.version %}\
            (https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
        {% else %}
            (https://github.com/discordjs/discord.js/tree/{{ version }}\
        {% endif %}\
    {% endif %} \
    - ({{ timestamp | date(format="%Y-%m-%d") }})
{% else %}\
    # [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
    ## {{ group | upper_first }}
    {% for commit in commits %}
        - {% if commit.breaking %}\
            [**breaking**] \
          {% endif %}\
            {% if commit.scope %}\
                **{{commit.scope}}:** \
            {% endif %}\
            {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
    {% endfor %}
{% endfor %}\n
"""
trim = true
footer = ""

[git]
conventional_commits = true
filter_unconventional = true
tag_pattern = "[0-9]*"
skip_tags = "v[0-9]*|11|12"
ignore_tags = ""

All tags on the repo in question:

10.0.0
10.0.1
11.0.0
11.1.0
11.2.0
11.3.0
11.3.1
11.3.2
11.4.0
11.4.1
11.4.2
11.5.0
11.5.1
11.6.0
11.6.1
11.6.2
11.6.3
11.6.4
12.0.0
12.0.1
12.0.2
12.1.0
12.1.1
12.2.0
12.3.0
12.3.1
12.4.0
12.4.1
12.5.0
12.5.1
12.5.2
12.5.3
13.0.0
13.0.1
13.1.0
13.2.0
13.3.0
13.3.1
13.4.0
13.5.0
5.2.0
5.3.2
6.0.0
6.1.0
7.0.0
7.0.1
8.0.0
8.1.0
8.2.0
9.0.2
9.1.0
9.1.1
9.2.0
9.3.0
9.3.1
v5.0.0
v5.0.1
v5.1.0
v5.3.0
v5.3.1

Expected behavior Expect skip_tags to not drop unrelated tags from the previous field.

System (please complete the following information):

  • OS Information: [Windows 11 Pro / 10.0.22000 Build 22000]
  • Project Version: [0.5.0]

closed time in 2 days

iCrawl

issue commentorhun/git-cliff

Previous not populated when using --latest and skip_tags are set but don't match

Yes, that did indeed solve it,

Thanks for testing this out!

Please do tell if you want a separate issue about this

Yes, that would be nice 👍🏼

Let's presume I want to run something like this: git cliff --prepend CHANGELOG.md -l which works with the changes/fixes you made now properly and populated previous and everything to correctly give me all the info I need. But with this approach I need to manually git tag a release, then run the command with the --latest flag to get the diff between the two tags and such the commits.

But ideally, I would want to run something like this: git cliff --prepend CHANGELOG.md --unreleased --tag 14.0.0

Is this somehow possible or not at all? Since previous does not seem to get populated if I do it this way, without manually creating the tag before.

This is supposed to be possible. Actually, there is an example command (which is similar to what you gave as an example) in README.md:

# 1- changelog header is removed from CHANGELOG.md
# 2- new entries are prepended to CHANGELOG.md without footer part
git cliff --unreleased --tag 1.0.0 --prepend CHANGELOG.md

So I'm not sure if there is a problem here. Maybe you have a different use-case for --prepend? Feel free to submit another issue about this and I'd be more than happy to work on it 🙂

P.S. Sorry for the late reply.

iCrawl

comment created time in 2 days

push eventorhun/PKGBUILDs

Orhun Parmaksız

commit sha f301c54e6989cf92a5cacc630fe80466ba14e8d1

upgpkg: menyoki-bin 1.5.6-1 upstream release

view details

push time in 2 days

push eventorhun/PKGBUILDs

Orhun Parmaksız

commit sha 46a692843e9e853621734e381fdf79a51a09d9fb

Add wasm-pack to nvchecker.toml

view details

Orhun Parmaksız

commit sha 3bc73448a33b133ad82f8458f4ce41698a9a6e60

upgpkg: menyoki-git 1.5.6.r0.g088e9c2-1 upstream release

view details

push time in 2 days

created tagorhun/menyoki

tagv1.5.6

Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️

created time in 2 days

push eventorhun/menyoki

Orhun Parmaksız

commit sha 088e9c29af9eefb7b36f068d24c5ba42d5a40556

chore: Prepare for the release 1.5.6

view details

push time in 2 days

push eventorhun/menyoki

Orhun Parmaksız

commit sha 293e156888b6cc2922b4324aea81ef20493fd195

doc: Update RELEASE.md about Docker releases

view details

Orhun Parmaksız

commit sha 7bebf5551077fd50101860d2972831d84524331b

chore: Bump dependencies

view details

Orhun Parmaksız

commit sha b9e0ebd7028dc54595b0060fbd310623ce13742c

chore: Bump the Rust version in Dockerfile

view details

push time in 2 days

push eventorhun/gpg-tui

Orhun Parmaksız

commit sha eba1934377e153d6a8ccb1f74814e579bacfb79f

chore: Update lychee arguments

view details

push time in 2 days

push eventorhun/menyoki

Orhun Parmaksız

commit sha 1d729faa76d15ec8dfd3f44c90c0027d1ac33d0e

doc: Update the broken link in CONTRIBUTING.md

view details

push time in 2 days

create barnchorhun/FishFight

branch : fix_loading_font

created branch time in 3 days

PR opened fishfight/FishFight

Support loading the credits font from a custom assets directory

When assets/ directory is located outside the current path, going to the credits screen crashes the game:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: FileError { kind: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" }), path: "./assets/ui/AnonymousPro-Regular.ttf" }', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/macroquad-0.3.13/src/text.rs:239:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This PR fixes this issue by refactoring the show_game_credits function to respect any custom assets directory specified by FISHFIGHT_ASSETS environment variable.

+12 -5

0 comment

2 changed files

pr created time in 3 days

startedsfackler/rust-openssl

started time in 3 days

startedrhboot/efivar

started time in 3 days

push eventorhun/systeroid

Orhun Parmaksız

commit sha f5e04995c0cb609c5cac98a5029dbccc34834ac5

chore(audit): add configuration file for cargo-audit

view details

push time in 3 days

push eventorhun/systeroid

Orhun Parmaksız

commit sha bb80e4a85e30c402ab48315e21bebbc2b290d26a

feat(tui): make clipboard support optional

view details

push time in 3 days

startedmobile-shell/mosh

started time in 3 days

push eventorhun/systeroid

Orhun Parmaksız

commit sha 00d9d466288df00d4b37839e1b64bdd89bd3180f

fix(ci): install runtime dependencies for the build step

view details

push time in 3 days

push eventorhun/systeroid

Orhun Parmaksız

commit sha 851f155abe4b83dba50c3b8d6f80687ac4e7c5b3

feat(tui): add search to prompt commands

view details

Orhun Parmaksız

commit sha 0a3d9dfdc1238dfd0f3980abb855d225802e00c0

refactor(tui): use consistent naming in custom widgets module

view details

Orhun Parmaksız

commit sha 42597863262c306333fa30db4fc0b910a66de314

feat(tui): support copying to clipboard

view details

Orhun Parmaksız

commit sha 20cbaa888f401243c228e05238ed6759d5cbea33

chore(ci): update dependencies for building

view details

Orhun Parmaksız

commit sha 5610e2a36bb371a75045b4311d55f83850d4ca38

fix(tui): prevent scrolling if the parameter list is empty

view details

Orhun Parmaksız

commit sha e9724567246b1a9209fff7926a41f8bb2ca3c0e6

style(tui): set bottom margin of parameter list to zero

view details

Orhun Parmaksız

commit sha ffeb6bbfc94240085a04fa38fcf2ff87242c69e0

feat(tui): preserve the table state on refresh

view details

push time in 3 days

startedmtfoley/pr-compliance-action

started time in 3 days

startedastrofox-io/astrofox

started time in 4 days

push eventorhun/PKGBUILDs

Orhun Parmaksız

commit sha 989cf33222e9d6599aefbf288445a1a9fad52963

upgpkg: fishfight-git 0.3.r21.g0e27777-1

view details

push time in 4 days

startedbytecodealliance/rustix

started time in 4 days

more