https://github.com/ancamcheachta/destructivator
Automated Force.com project rollback with git integration.
https://github.com/ancamcheachta/destructivator
destructive-changes forcedotcom git metadata-api salesforce
Last synced: 8 months ago
JSON representation
Automated Force.com project rollback with git integration.
- Host: GitHub
- URL: https://github.com/ancamcheachta/destructivator
- Owner: ancamcheachta
- License: mit
- Created: 2017-11-17T17:54:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-25T12:16:31.000Z (over 8 years ago)
- Last Synced: 2025-08-16T22:19:07.163Z (8 months ago)
- Topics: destructive-changes, forcedotcom, git, metadata-api, salesforce
- Language: Rust
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# destructivator
[](https://travis-ci.org/ancamcheachta/destructivator)
[](https://crates.io/crates/destructivator)
[](https://coveralls.io/github/ancamcheachta/destructivator)
Automated Force.com project rollback with git integration. As of the initial 0.1.0 release, the destructivator CLI produces a
`destructiveChanges.xml` file based on the deltas between a feature branch and master branch of a git repository.
[Documentation](https://docs.rs/destructivator)
## Requirements
* [Rust](https://www.rust-lang.org/en-US/install.html)
## Installation
1. `git clone https://github.com/ancamcheachta/destructivator.git`
2. `cd destructivator`
3. `cargo install`
## Usage
Here's an example of how to generate `destructiveChanges.xml` from the diff between a feature and master branch of a Force.com project.
```bash
git clone https://github.com/ancamcheachta/forcedotcom-project -b feature
cd forcedotcom-project
destructivator > destructiveChanges.xml
```
## Roadmap
* [ ] Support for components in nested directories whose parent directory is not that of the component (eg. descendants of ` /documents`)
* [ ] Support for components with a many-to-one relationship to their parent folder (eg. `StandardObject`, `CustomObject` to `/objects`)
* [ ] Rollback branch generator
* [ ] Expose public functions via `libdestructivator.so`
* [ ] atom.io plugin