Skip to content

difftastic: Initial packaging.#9201

Open
olymk2 wants to merge 2 commits into
getsolus:mainfrom
olymk2:difftastic
Open

difftastic: Initial packaging.#9201
olymk2 wants to merge 2 commits into
getsolus:mainfrom
olymk2:difftastic

Conversation

@olymk2

@olymk2 olymk2 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Alternative diff tool which can do structural diffs

Resolves #9221

Test Plan

Generated package installed in unstable vm and ran difft to check the command executed and returned the help

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged
  • I agree to license this contribution and all my previous contributions under the licensing terms in LICENSE.md and have the power and authority to grant those licenses.

@davidjharder

Copy link
Copy Markdown
Member

This looks like a nice tool, but I don't see a package request for it. Please submit one. This helps us document why packages are added.

For now I will mark this PR as a draft

@davidjharder davidjharder marked this pull request as draft June 11, 2026 14:00
@olymk2

olymk2 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

okay thanks @davidjharder I did not realise a request was needed, I have created one here #9221

I created this for myself but created the PR in case it was wanted as I went to the effort of packaging it.

Comment thread packages/d/difftastic/package.yml
Comment thread packages/d/difftastic/package.yml
build : |
%cargo_build
install : |
install -Dm0755 $workdir/target/release/difft $installdir/usr/bin/difft

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the %cargo_install macro if it works here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did try this initially it failed, is there a way to see what these macros are actually doing ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%cargo_install difft works for me

@davidjharder davidjharder marked this pull request as ready for review June 12, 2026 18:28
@Jaredy899

Copy link
Copy Markdown
Contributor

Sorry for my two cents but this also needs a monitoring.yaml.

@Jaredy899

Copy link
Copy Markdown
Contributor

Also squash the commits into one commit. This is a good resource to use to figure out git. Also look at some of the pending PR's or accepted new package PR's to see our flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

difftastic

3 participants