Giter Site home page Giter Site logo

Comments (5)

fraxinas avatar fraxinas commented on May 26, 2024 1

it looks like https://github.com/Richterrettich/rpm-rs was abandoned and the project is now continued here: https://github.com/rpm-rs/rpm

this commit implements the %config(noreplace) if i interpret this correctly:
rpm-rs/rpm@66bffe0

from cargo-generate-rpm.

cat-in-136 avatar cat-in-136 commented on May 26, 2024

mark rpm-crate-issue because %config(noreplace) feature is missing in the current rpm-rs.

from cargo-generate-rpm.

cat-in-136 avatar cat-in-136 commented on May 26, 2024

@fraxinas thank you for finding out the parameter in rpm-rs!

from cargo-generate-rpm.

cat-in-136 avatar cat-in-136 commented on May 26, 2024

It has been a long time, today I checked the rpm crate implementation.

To my surprise, %config(missingok) has not introduced to rpm::FileOptionsBuilder. Since %config(noreplace) and %config(missingok) have been treated as two contrasting options in the context of writing rpm spec, I would like to support both of them in same PR.

corresponding rpm spec cargo-generate-rpm rpm flags
%config config = true rpm::FileFlags::CONFIG
%config(missingok) n/a (config = "missingok" ?) rpm::FileFlags::MISSINGOK
%config(noreplace) n/a (config = "noreplace" ?) rpm::FileFlags::NOREPLACE

from cargo-generate-rpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.