While I have been reviewing code thinking in documentation improvements, I end up looking into other issues, like #1528688: Rework item history retrieval. And indeed, item entity really needs some attention.

Here I am attaching a patch that covers mainly documentation changes on the item interfaces and its example implementations on versioncontrol_fakevcs module. It also change method names, but it does not solve #606678: remove verbs from interfaces yet.

So, in the middle of this process, and after discussing the idea with Howard(tizzo), it seems like the best idea is to make item optional features pluggable, so we do not depend on a single backend implementation(i.e. on vc_git some people would like to access git with libgit2, phpgit, etc), beacuse some of these optional features need access to the repository.

Comments

marvil07’s picture

Assigned: marvil07 » Unassigned
Status: Needs work » Closed (won't fix)

After along discussion with Howard and Sam about the several versioncontrol features, including optional item features, we decided that we should remove all the optional item features, since they do not seems like really needed now(no backend is using them).

That ended up in removing all item optional features, but they are there in history, so we could(and we will at least some of them) recover it in the future.

BTW the idea of make optional item features pluggable made sense for all, so when moving each of them back we would probably try to use ctools plugins for them.

marvil07’s picture

Issue tags: +git, +drupal.org D7

tagging

  • Commit af9b874 on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Pseudo-standarize(internally) optional item iterfaces....
  • Commit 777d9fa on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Remove parallel items retrieval item optional feature.
    
    
  • Commit 76ba824 on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Remove directory contents as items retrieval item...
  • Commit 16dbd92 on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Remove export file item contents optional feature.
    
    
  • Commit 29cbc23 on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Remove export directory item contents optional feature.
    
    
  • Commit 2384049 on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Remove file item annotation(a.k.a. blame) optional...
  • Commit 79d9581 on rework-item-interfaces, repository-families, drush-vc-sync-unlock by marvil07:
    Issue #1542874: Remove repository item retrieval optional feature.
    
    

  • Commit af9b874 on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Pseudo-standarize(internally) optional item iterfaces....
  • Commit 777d9fa on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Remove parallel items retrieval item optional feature.
    
    
  • Commit 76ba824 on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Remove directory contents as items retrieval item...
  • Commit 16dbd92 on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Remove export file item contents optional feature.
    
    
  • Commit 29cbc23 on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Remove export directory item contents optional feature.
    
    
  • Commit 2384049 on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Remove file item annotation(a.k.a. blame) optional...
  • Commit 79d9581 on rework-item-interfaces, repository-families by marvil07:
    Issue #1542874: Remove repository item retrieval optional feature.
    
    

  • marvil07 committed af9b874 on d8port
    Issue #1542874: Pseudo-standarize(internally) optional item iterfaces....
  • marvil07 committed 777d9fa on d8port
    Issue #1542874: Remove parallel items retrieval item optional feature.
    
    
  • marvil07 committed 76ba824 on d8port
    Issue #1542874: Remove directory contents as items retrieval item...
  • marvil07 committed 16dbd92 on d8port
    Issue #1542874: Remove export file item contents optional feature.
    
    
  • marvil07 committed 29cbc23 on d8port
    Issue #1542874: Remove export directory item contents optional feature.
    
    
  • marvil07 committed 2384049 on d8port
    Issue #1542874: Remove file item annotation(a.k.a. blame) optional...
  • marvil07 committed 79d9581 on d8port
    Issue #1542874: Remove repository item retrieval optional feature.