Skip to content

PR to track downstream changes in a fork #12

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

AndrewDryga
Copy link
Member

No description provided.

[
line_length: 110,
inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"]
]
Copy link
Member Author

Choose a reason for hiding this comment

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

There should be a final \n at the end of each file.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.154% when pulling e179f9b on valiot:master into d6f69c8 on Nebo15:master.

value
end}
end)
|> Map.new()
Copy link
Member Author

Choose a reason for hiding this comment

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

Pipe chain should start with a raw value.

# this case is entered when the operation type it's a delete operation
{_, regreso} =
Map.from_struct(schema)
|> Map.pop(:__meta__)
Copy link
Member Author

Choose a reason for hiding this comment

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

Pipe chain should start with a raw value.

Map.from_struct(schema)
|> Map.pop(:__meta__)

IO.inspect(regreso)
Copy link
Member Author

Choose a reason for hiding this comment

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

There should be no calls to IO.inspect/1.

value
end}
end)
|> Map.new()
Copy link
Member Author

Choose a reason for hiding this comment

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

Pipe chain should start with a raw value.

@acrogenesis
Copy link

Hello @AndrewDryga, at Valiot we are actively maintaining and adding features to ecto_trail as we are using it in our core product. If you like we can take over it. You can take a look at our fork here: https://github.com/valiot/ecto_trail/

We've also been thinking in renaming it so we can publish updated versions to hex.pm

What do you think?

@PavelVesnin
Copy link
Contributor

Hi @acrogenesis .
Create PR with your changes and we can publish it

@AndrewDryga
Copy link
Member Author

I think it would be nice if we collaborate on improving it instead of maintaining two separate versions. I'm even totally okay to give you write access and rights to publish on Hex, if we agree to not introduce breaking changes (because it's used in our production too).

@AndrewDryga
Copy link
Member Author

Ebert has finished reviewing this Pull Request and has found:

  • 5 possible new issues (including those that may have been commented here).

But beware that this branch is 1 commit behind the Nebo15:master branch, and a review of an up to date branch would produce more accurate results.

You can see more details about this review at https://ebertapp.io/github/Nebo15/ecto_trail/pulls/12.

acrogenesis and others added 9 commits September 30, 2021 10:29
Maintenance & custom REDACTED fields
…ngesets

change data structure for delete changesets
* update deps

* add log\4 for handling log only operations

* change log

* add log_bulk for log a list changes for a list of created structs

* fix struct references in log_bulk

* change args naming

* add log_bulk test for log only behaviour
@acrogenesis acrogenesis deleted the branch Nebo15:master November 22, 2023 16:30
@acrogenesis acrogenesis deleted the master branch November 22, 2023 16:30
mindreframer added a commit to maxohq/ecto_trailer that referenced this pull request May 14, 2025
Problem: 
- the original package from Nebo15 (https://github.com/Nebo15/ecto_trail) seems barely supported
- the PR to merge the fork from Valiot is stuck in limbo (Nebo15/ecto_trail#12)
- the improvements from Valiot are not releases on Hex (and there are some API differences from the original package)

Solution: 
- lets change the name and release an actively maintained package
- ecto_trailer is available and seems OK for an alternative implementation
mindreframer added a commit to maxohq/ecto_trailer that referenced this pull request May 14, 2025
Problem: 
- the original package from Nebo15 (https://github.com/Nebo15/ecto_trail) seems barely supported
- the PR to merge the fork from Valiot is stuck in limbo (Nebo15/ecto_trail#12)
- the improvements from Valiot are not releases on Hex (and there are some API differences from the original package)

Solution: 
- lets change the name and release an actively maintained package
- ecto_trailer is available and seems OK for an alternative implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants