Coder Social home page Coder Social logo

Comments (5)

ralphcallaway avatar ralphcallaway commented on July 19, 2024 1

it also deletes the old src/package.xml manifest, which should go anyway ...

perhaps we make that the description, cleans folder so that it only contains sfdx metadata that are in the current default org

from force-source-clean.

ralphcallaway avatar ralphcallaway commented on July 19, 2024

added a .forceignore with the following and the method runs, but the file gets deleted (fine in this case)

a lot of this boils down to is there a good reason to have non-sfdx files in package folders (kind of feel like now, let's be opinionated and say if it doesn't exist in the org it's deleted, regardless of whether it's an sfdx file our not. package folders are just for sfdx files

from force-source-clean.

ChuckJonas avatar ChuckJonas commented on July 19, 2024

Ya, looks like the error.

I think we could exclude . files and .forceIgnore. EVERYTHING else will be removed. As you saw before, nothing else should be in the source folders as it will break the standards sfdx force:source commands... So by deleting everything else it really is "cleaning up"

from force-source-clean.

ChuckJonas avatar ChuckJonas commented on July 19, 2024

I think the only TODO from this issue is just to make this behavior more apparent in the command help and readme.md

from force-source-clean.

ralphcallaway avatar ralphcallaway commented on July 19, 2024

mostly, i'd say #6 is a todo that comes out of this, but yeah it seems like you'd expect clean to delete these files and to mirror the current constraints of the sfdx command

from force-source-clean.

Related Issues (15)

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.