This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
Storage format for serialized data #619
Labels
feature
New feature. See "improvement" for updates of existing functionality.
major
Use only for bugs to mark the big ones
noteworthy
Significant issue or PR, to be highlighted in release notes
scope: core
Core VersionPress functionality like tracking actions, creating Git commits, etc.
Milestone
Comments
borekb
added
feature
New feature. See "improvement" for updates of existing functionality.
major
Use only for bugs to mark the big ones
scope: core
Core VersionPress functionality like tracking actions, creating Git commits, etc.
noteworthy
Significant issue or PR, to be highlighted in release notes
labels
Jan 11, 2016
Moving this to 3.0 where it feels more at home. Let's see if it can make it to the release as it's quite late in the release cycle.. but I have no doubts @JanVoracek :) |
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 21, 2016
… saving serialized data to just string operations.
JanVoracek
added a commit
that referenced
this issue
Mar 22, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 23, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 24, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 24, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 24, 2016
JanVoracek
added a commit
that referenced
this issue
Mar 24, 2016
…d '*pointer*' because of possible conflicts with class names
Reopening. DB rows containing string |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feature
New feature. See "improvement" for updates of existing functionality.
major
Use only for bugs to mark the big ones
noteworthy
Significant issue or PR, to be highlighted in release notes
scope: core
Core VersionPress functionality like tracking actions, creating Git commits, etc.
Currently, we store serialized data as they are, i.e., serialized. For example, this is how we store the
active_plugins
option:This was simple to implement but degrades the data inside serialized arrays / objects to something that cannot easily be ignored (#607), diffed, will cause merge conflicts, etc. WordPress, and especially some plugins, heavily use serialized data so we really need to support this better.
One initial idea is to convert the serialized data into some INI subset that would be hierarchical and friendly to diffing. For example, the above could be stored as something like:
If the first index contained an object with properties
a
andb
, the keys would be something like:Etc. This is pseudocode, I haven't put much thought into the format yet.
The text was updated successfully, but these errors were encountered: