Upgrading to Drupal 10 has begun, and a 8.x-1.x-dev release is available. Here is the current status of the port:

  • base module - upgraded
  • CL - upgraded (but does not include all the new features of 7.x-1.1.)
  • LR - pending
  • PET -pending
  • test framework - partly upgraded

I am looking for a co-maintainer to oversee the D10 port and to implement the missing components. Please post a comment in this issue tracker if you want to work on the upgrade.

MRs and reviews are also welcome, and will be dealt with in a timely manner.

CommentFileSizeAuthor
#4 anonymous_publishing-dmu-analysis.pdf107.46 KBjuliencarnot
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JulienC created an issue. See original summary.

gisle’s picture

Status: Active » Postponed

A Drupal 8 port is not currently on my schedule. That may change if someone is willing to sponsor a port to Drupal 8, but at the moment, all my client's sites are using Drupal 7.

However, if someone is willing to create a version for Drupal 8, please contact me to discuss co-maintainership with responsibility to oversee development for Drupal 8.

Please note that unless you have a CV that shows some experience with Drupal and ability to produce good quality code, I would like to see some code before assigning co-maintainership. The best way is probably to create a sandbox with an initial Drupal 8 version (i.e. not only a stub). I'll review the sandbox and if looks OK, I'll assign co-maintainership.

Postponing until either a sponsor or a qualified co-maintainer is found.

juliencarnot’s picture

Sorry for this delayed follow-up and thanks a lot for your swift and complete answer! I understand your priorities and am afraid I don't have the skills/experience needed, and probably not the budget to sponsor it either... I'll keep learning meanwhile and will follow this issue!

juliencarnot’s picture

Just in case somebody with better coding skills than mine would be interested, here is the Drupal Upgrade Module analysis report on the last available release (7.x-1.0 2015-Mar-29). My dmu-upgrade attempt failed though.

juliencarnot’s picture

Gisle,

My project is progressing and I find myself missing this feature to lower the threshold to contribution, especially the CL mode. Do you have a rough estimate of the budget and time needed for a Drupal 8 port, given your schedule for the coming months? I'd like to know if I could afford it or if I have to do without this feature, as apparently I seem to be the only user waiting for this at the moment.

Thanks again for your time!
Julien

gisle’s picture

@juliencarnot

Do you have a rough estimate of the budget and time needed for a Drupal 8 port, given your schedule for the coming months?

I did run it through the Drupal Module Upgrader (DMU) this morning.

It does not look good. DMU seems to have a lot of issues e.g. #2635944: InvalidArgumentException' with message '$string ("") (fixed in dev, but still trips up the stable version), and #2670932: FlagHookDeriver: NULL given when array was expected (crashes the latest dev). After patching those issues myself, the DMU did run and also produced some analytics, and I was even able to do a "dmu-upgrade". Unforuntately, the "dmu-upgrade" only addressed very basic stuff (such as varaibles), not heavier things such as API-changes. In other words: DMU isn't really much of a helper in its present unfinished state, and doing it "by hand" will require a lot of hours - at least if I am the person doing it.

I'll create a 8.1-1.x dev branch and push the result of the automatic "dmu-upgrade" later today - maybe it may inspire somebody else to have a go on finishing the upgrade.

I tried to look into those API-changes in order to produce a rough estimate of the budget and time needed. The D8 API is of course is documented on api.drupal.org, but it introduces a lot of new concepts (at least for me). This means that in order to convert Anonymous Publishing to Drupal 8, I first has to learn these new concepts.

With my present schedule, I don't even have the time to go back to school to learn Drupal 8. Also, I would of course not charge you (or any client) money for the required schooling - as a consultant, I need know my stuff before I start the taximeter.

I am sure that by now, there are a lot of developers familiar with Drupal 8 out there. If you can hire one of those to do the conversion, I'll assist in answering any questions he/she may have about Anonymous Publishing, and provide him/her with full access to the repo.

juliencarnot’s picture

@Gisle:

Many thanks for your time and thorough explanations, and for starting this dev branch! I understand your point perfectly, I will investigate the options to find an experimented D8 developer and let you know ASAP!

gisle’s picture

gisle’s picture

Title: Porting to Drupal 8 » Porting Anonymous publishing to Drupal 8
Version: 7.x-1.x-dev » 8.x-1.x-dev

Setting version to 8.x-1.x.

juliencarnot’s picture

As discussed with Gisle, I am hiring Dom. to port the Anonymous publishing parent module and the CL submodule only.

This partial port will be committed to the 8.x-dev branch but a full release won't be published until all the submodules are ported.

gisle’s picture

Great! Welcome onboard Dom.. I've added you as co-maintainer to the project. Feel free to contact me if there is anything you need.

Dom.’s picture

Status: Postponed » Active

Hi @gisle, @juliencarnot and all,
I said previously, I will port Anonymous Publishing CL submodule for @juliencarnot (credit oqp.io).

@gisle: Do you have a preference for contribution ? Via patch or direct commit in branch. With or without a tracking issue (this one or a new one) ?

gisle’s picture

Assigned: Unassigned » Dom.

@gisle: Do you have a preference for contribution?

Yup!

Via patch or direct commit in branch.

Via direct commit in branch 8.x-1.x (you should already have access).

Also, I think you'll be better off cleaning out my botched attempt from that branch and start from scratch. I am pretty close to releasing 7.x-1.1, so I think you'll be better off working from the latest 7.x-1.x dev snapshot than from the almost one year old 7.x-1.0 release. Some bugs have been fixed and there are also automatic tests in place - which makes testing a lot easier.

With or without a tracking issue (this one or a new one)?

Please use a tracking issue. I don't have any strong feelings about whether you use this one or a new one.

Dom.’s picture

Hi @gisle,
Thanks for letting me know about the new version, I used the GIT indeed.
I use : "Issue #2588475 by Dom.: ...." commit messages, but I will push them all at once when receiving payment from my client. It may happen that bot will report all individual commits in this issue then at the time ! Don't you mind ?

gisle’s picture

It may happen that bot will report all individual commits in this issue then at the time! Don't you mind?

Just go ahead whenever you've ready.

  • Dom. committed 41690f1 on 8.x-1.x
    Issue #2588475 by Dom.: Fix typo in AdminSettings placeholder, Add...
  • Dom. committed 44fffd9 on 8.x-1.x
    Issue #2588475 by Dom.: Clean-up 8.x-1.x repo branch for initial commit...
  • Dom. committed 5201a43 on 8.x-1.x
    Issue #2588475 by Dom.: Porting Anonymous Publishing to Drupal 8
    
  • Dom. committed 5a21257 on 8.x-1.x
    Issue #2588475 by Dom.: Finish portage enough for testing.
    
  • Dom. committed 5a6b9df on 8.x-1.x
    Issue #2588475 by Dom.: Anonymous publishing CL port; main settings tab.
    
  • Dom. committed 7866958 on 8.x-1.x
    Issue #2588475 by Dom.: Anonymous publishing CL port; email notification...
Dom.’s picture

Status: Active » Needs review

The portage of Anonymous Publishing CL sub-module is now on the repo.

juliencarnot’s picture

Thanks @Dom., just had time to install but not to test it yet, I will do that tomorrow and open separate issues if necessary (I just added one for now).

gisle’s picture

Status: Needs review » Active

There is nothing to review. Setting back to Active.

Dom.’s picture

Indeed, everything is on 8.x-1.x-dev branch. CL only is ported, not the other 2 sub-modules.
Have you had a chance at trying it ?

  • gisle committed 3839e62 on 8.x-1.x
    Issue #2588475 by gisle: Fixed bug that made hook_help crash site
    
  • gisle committed 716401d on 8.x-1.x
    Issue #2588475 by gisle: Merged latest changes by Dom. into branch
    
gisle’s picture

Dom. wrote:

Have you had a chance at trying it?

Haven't made any extensive tests yet, but I discovered that visiting the "help" page made the site crash. Just pushed what I hope is a fix for that.

It also is a bit behind 7.x-1.x-dev as it does not implement the feature that lets the anonymous poster set a byline.

And of course there remains two sub-modules (LR and PET) to port.

Otherwise, it looks good.

  • gisle committed 9538613 on 8.x-1.x
    Issue #2588475 by gisle: Fixed broken link to permissions page in CL...
gisle’s picture

Issue summary: View changes

Updated issue summary with current status of port.

gisle’s picture

Issue summary: View changes
gisle’s picture

Issue summary: View changes
gisle’s picture

Assigned: Dom. » Unassigned

Reverting to unassigned.

gisle’s picture

Title: Porting Anonymous publishing to Drupal 8 » Porting Anonymous publishing to Drupal 9/10
Issue summary: View changes

Changed title to reflect that Drupal 8 is EOL.

gisle’s picture

Status: Needs review » Active

Setting status to "Active".

gisle’s picture

Title: Porting Anonymous publishing to Drupal 9/10 » Porting Anonymous publishing to Drupal 10
Issue summary: View changes

Changed title to reflect that D9 is EOL.

We probably need to deal with deprecations before releasing a version for D10.

gisle’s picture

Title: Porting Anonymous publishing to Drupal 10 » Upgrading Anonymous publishing to Drupal 10
Version: 8.x-1.x-dev » 2.0.x-dev
Category: Feature request » Task
Issue summary: View changes

Updated for D10 and branch 2.0.x.