Skip to content

Extract common code to a separate repository #3

@mscottford

Description

@mscottford

Many of the Freshli repositories are using Ruby as a command runner. There is some support code that has been copied from repository to repository, and that should be moved into a common place so that there is less chance of drift happening between the different versions.

The Freshli repositories that are for CLI programs are also using Cucumber and Aruba for testing. There are many Cucumber step implementations that have been copied from repository to repository as well. Those should be stored in a central location as well.

My first idea is to create a simple Ruby gem that is referenced via a github: parameter in the Gemfile for each Freshli project. That's probably the simplest way to go about doing this.

### Tasks
- [x] Create `freshli-commons` Ruby gem
- [x] Integrate `freshli-commons` into `freshli-agent-python`
- [ ] corgibytes/freshli-cli#618
- [ ] corgibytes/freshli-agent-dotnet#15
- [ ] corgibytes/freshli-agent-java#114
- [ ] corgibytes/freshli-io#2
- [ ] corgibytes/freshli-io#75

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions