Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixup package#123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Manishearth merged 4 commits intounicode-rs:masterfromJake-Shadle:master
Sep 6, 2023
Merged

Fixup package#123

Manishearth merged 4 commits intounicode-rs:masterfromJake-Shadle:master
Sep 6, 2023

Conversation

@Jake-Shadle
Copy link
Contributor

This fixes up thepackage.exclude field to be simpler and actually exclude everything that is unused for downstream users, notably the entirety of thescripts folder. Thetarget/* andCargo.lock values were superfluous since they are already present in the .gitignore which cargo excludes by default.

While I was doing this I noticed that github CI was now used, but the .travis.yml file was still in the root, and the README still used the travis badge, so fixed that.

Cargo.toml Outdated
"""

exclude = ["target/*","Cargo.lock","scripts/tmp","benches/texts/*","*.txt",]
exclude = ["/.github","/scripts","/benches/texts"]
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather not excludescripts, it's not used by the Rust package but people vendoring the crate sometimes care about having files like this. Can this be reverted to excludingscripts/tmp?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Ahh ok, that's unfortunate, the main motivation for the change was to remove executable scripts, but I'll revert that part.

Copy link
Member

Choose a reason for hiding this comment

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

What's the reason for removing executable scripts? In general I'm 100% sympathetic to the idea that one shouldn't ship unnecessary executables (and I'm aware of the recent kerfuffle in the broader community), but in this case (1) they're scripts, so they're easy to inspect and compare against the git history, and (2) they are not, to my knowledge, executed automatically under any circumstances.

Copy link
Member

Choose a reason for hiding this comment

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

@Jake-Shadle if they have an executable bit set I do not mind removing that, but it's not a huge deal. They are scripts, not binaries.

@ManishearthManishearth merged commit3d7266d intounicode-rs:masterSep 6, 2023
@Manishearth
Copy link
Member

Thanks!

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

Reviewers

@kwantamkwantamkwantam left review comments

@ManishearthManishearthManishearth approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Jake-Shadle@Manishearth@kwantam

[8]ページ先頭

©2009-2025 Movatter.jp