Skip to content
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

EntityAuditBundle #1405

Closed
11 of 20 tasks
VincentLanglet opened this issue Feb 7, 2021 · 21 comments
Closed
11 of 20 tasks

EntityAuditBundle #1405

VincentLanglet opened this issue Feb 7, 2021 · 21 comments

Comments

@VincentLanglet
Copy link
Member

VincentLanglet commented Feb 7, 2021

Now the entityAuditBundle is under the sonata-project there is multiple things to do:

  • Renaming the 1.0 branch to 1.x
  • Updating the README
  • Adding ISSUE_TEMPLATE and PULL_REQUEST template
  • Moving the CI from travis to github actions (and maybe fixing the tests)
  • Allowing php8 (and dropping old php versions)
  • Adding a lint github actions based on our.
  • Creating a Makefile
  • Adding this bundle to the list of project handled by dev-kit
  • Changing the structure from src/SimpleThings/EntityAudit to src (same for tests)
  • Deciding what to do with master branch (reset ? merge 1.x into master ?)
  • Move docs from README to /docs as rst files
  • Enable docs on the Website
  • Fix pages working with symfony/framework-bundle >= 5.0 - Update commands SonataPageBundle#1279
  • Update configuration to php - Change configuration to php EntityAuditBundle#366
  • Add routing in xml - Improve routing EntityAuditBundle#365
  • Add final, deprecation and NEXT_MAJOR notes
  • All aliases to allow use Sonata\EntityAuditBundle namespace

Next steps will be prepare EntityAuditBundle to MAJOR release:

  • Close API
  • Remove deprecations and NEXT_MAJOR
  • Change namespace to Sonata\EntityAuditBundle

@phansys @wbloszyk Since you're using this bundle, do you want to take some tasks ?

cc @OskarStark

@OskarStark
Copy link
Member

Sounds good, can you make it a checklist?

@VincentLanglet
Copy link
Member Author

I started some task sonata-project/EntityAuditBundle#347
But I don't understand why the github actions is not running, even on my fork.

@wbloszyk
Copy link
Member

wbloszyk commented Feb 7, 2021

Sure, I can do some of this task.
IMO We should keep travis for this package until we upgrade tests from phpunit 4 to symfony/phpunit-bridge 5.1 and change structure to this we are using in sonata.

@VincentLanglet WDYT? Can we wait with your PR?

@VincentLanglet
Copy link
Member Author

In the PR I opened, I already updated from phpunit to symfony/phpunit-bridge. So I don't know why we should wait

@wbloszyk
Copy link
Member

wbloszyk commented Feb 7, 2021

@VincentLanglet
This PR looks good for me. Action is not running becouse (If I good remember) they configuration are taken from branch, no PR.
Proof:
sonata-project/sandbox#632 - actions was added in this PR
sonata-project/sandbox#633 - actions wad running in this PR

Can you split your PR?

@franmomu
Copy link
Member

franmomu commented Feb 7, 2021

I started some task sonata-project/EntityAuditBundle#347
But I don't understand why the github actions is not running, even on my fork.

Creating a PR on your own fork should work to see the actions.

@VincentLanglet
Copy link
Member Author

sonata-project/EntityAuditBundle#347 is merged.

There are multiple conflict if I try to merge 1.0 into master. And there will be a lot more when I'll fix the lint in 1.0.
I have absolutely no clue about what extra work was done on the master branch, and I'm not sure someone knows.
I found commit called "POC" like this one: sonata-project/EntityAuditBundle@60fd292.

Should we reset the master branch to 1.0 ? @sonata-project/contributors

@OskarStark
Copy link
Member

cc @tolry any infos that can help?

@tolry
Copy link

tolry commented Feb 12, 2021

iirc @DavidBadura intended to split library and bundle at some point, but that never got finished, master should probably be discarded/rolled back to 1.0 - maybe David remembers more 🙂

@wbloszyk
Copy link
Member

1.0 is 24 commits ahead and 86 behind master.
IMO we should rename master into legacy_master and create new main branch from 1.0.
Then we can revision legacy_master and cherry pick what we want.

@OskarStark
Copy link
Member

Let's use master instead of main, dev kit only knows about master

@OskarStark
Copy link
Member

And let's remove it, it's not stable and not meant to be used imho

@wbloszyk
Copy link
Member

And let's remove it, it's not stable and not meant to be used imho

Even if it is not stable branch, we can pick some commits or import some idea. anyway branh an be archive.

@VincentLanglet
Copy link
Member Author

Done !

master was renamed legacy_master
1.0 was renamed 1.x
master was created based on 1.x

@VincentLanglet
Copy link
Member Author

@VincentLanglet
Copy link
Member Author

sonata-project/EntityAuditBundle#353

Dev kit is now working for EntityAuditBundle
License and Readme are currently untouched.

@OskarStark
Copy link
Member

So let's create the docs based on the README 👌🏻 and we can overwrite it

@VincentLanglet
Copy link
Member Author

I made sonata-project/EntityAuditBundle#359 as a first step.
I don't know how the doc folder works.

@wbloszyk
Copy link
Member

I update this list.

IMO We should consider change type to library and move bundle to the src/Bridge/Symfony/ like in the sonata/*-extensions becouse it can be use as standalone library: https://github.com/sonata-project/EntityAuditBundle#installation-standalone

@sonata-project/contributors

@OskarStark
Copy link
Member

We can do this later when all done

@VincentLanglet
Copy link
Member Author

I'm trying to reduce the files in the excluded_files section of the dev-kit update.
The EntityAuditBundle has a different licence from the other project.
https://github.com/sonata-project/EntityAuditBundle/blob/1.x/LICENSE
vs
https://github.com/sonata-project/SonataAdminBundle/blob/4.x/LICENSE

I'm not familiar with licences, differences between them and what is needed to change them.
@beberlei would you be ok with the change ?

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

No branches or pull requests

5 participants