Currently I am in a Drupal 8 training. As a training goal, I'm working on migrating the Site Verification module to Drupal 8.
I share my progress in a sandbox: https://drupal.org/sandbox/barisw/2194855

When I'm finished, I'll add a patch here.

Comments

mgifford’s picture

Cool! Hope it goes well.

matsbla’s picture

Hi!

Are there any plans from maintainers or others to work on a D8 version?

Francewhoa’s picture

Thanks matsbla for your contribution :)

Any additional volunteers interested to join to effort to port Site verification module from Drupal 7 to 8?

We would be happy to contribute testing patch, quality assurance, documentation, and agile project management services if needed

Related pages

Jim.M’s picture

Francewhoa, I'm very interested in porting this module to D8 and actually had started my preparations on porting the module just before you posted the comment. I've developed several modules for an internal project based on D8 (started about half a year ago), so I'm aware of recent API changes. BarisW has done great work, but I think it needs a couple of architecture adjustments. Say, there's no drupal_write_record anymore and we can switch to Entity API at all I think.

BarisW’s picture

Sure, feel free to grab my code and change it all you want. It has been written one and a half year ago ;)

klokie’s picture

Title: Migrate to Drupal 8 » Port Site verification to Drupal 8
Jim.M’s picture

Assigned: BarisW » Jim.M
couturier’s picture

I've updated the Site Verification Drupal 8 Contrib Porting Tracker with a summary of progress. It appears that new methods for site verification will supersede the need for a module going forward in D8 and that the Site Verification module will therefore become obsolete with D7. However, if Jim.M wishes to continue work on this module for D8, he may update the issue. Read my summary here, revision dated November 20, 2015: https://www.drupal.org/node/2606940#comment-10591982

Jim.M’s picture

Porting to D8 has been completed actually. See it here: https://github.com/MixedBin/site_verify . Trying to get a ahold of @Daverid for his review and apply for co-maintainer.

Jim.M’s picture

Status: Active » Needs review
DamienMcKenna’s picture

Might I suggest that instead we work on porting the verification tags to Metatag instead? See #2563629: Add all of the Site Validation meta tags to 8.x-1.x.

couturier’s picture

As previously commented on DamienMcKenna's noted issue #2563629: Add all of the Site Validation meta tags to 8.x-1.x I think it's a great idea to add site verification to metatags.

In the meantime, one may simply place the verification file in the domain root folder. Care must be taken to not delete that file when upgrading to new releases. This is impossible for users without FTP access, so a user interface to accomplish validation would be helpful for those cases.

naveenvalecha’s picture

There are multiple d8 ports as per the comments in the thread. Can we merged the reviewed & healthier code in the 8.x-1.x dev branch and release the development snapshot.

//Naveen

DamienMcKenna’s picture

Instead can we close this and update the project page to say the module is deprecated? Metatag for D8 has already added support for site verification tags, D7 already had support for them, so we should focus our efforts there.

naveenvalecha’s picture

@DamienMcKenna,
Updating on the project page would be enough.

I have updated the issue in contrib tracker. https://www.drupal.org/node/2783975#comment-11511633

Jim.M’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.