Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

[WIP] Extensions catalogue #36

Merged
merged 37 commits into from
Mar 11, 2015
Merged

[WIP] Extensions catalogue #36

merged 37 commits into from
Mar 11, 2015

Conversation

everzet
Copy link
Member

@everzet everzet commented Jan 18, 2015

Implements & Closes #12

@everzet everzet added this to the go public milestone Jan 18, 2015
@everzet everzet changed the title Extensions catalogue [WIP] Extensions catalogue Jan 18, 2015
Scenario: Releasing a stable extension
Given "behat/symfony2-extension" extension was created in "Behat/Symfony2Extension"
When I release "Behat/Symfony2Extension" version "v2.0.0"
Then extension catalogue should contain 1 extension
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would reword the step by adding the the article at the beginning. It would read better

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed

@stof
Copy link
Member

stof commented Jan 18, 2015

Should the extension have a reference to the repository hosting its code to allow accessing it easily from the UI or no ?

@stof
Copy link
Member

stof commented Jan 18, 2015

I would add a scenario saying that releasing the Behat documentatio itself does not register it as an extension

@everzet
Copy link
Member Author

everzet commented Jan 18, 2015

Should the extension have a reference to the repository hosting its code to allow accessing it easily from the UI or no ?

I don't know yet :) I just follow the needs and see where they drive me.

I would add a scenario saying that releasing the Behat documentatio itself does not register it as an extension

I think the last scenario (Releasing repository that has no extensions) covers this case.

@stof
Copy link
Member

stof commented Jan 18, 2015

I think the last scenario (Releasing repository that has no extensions) covers this case.

No it does not. It is release Behat/MinkExtension, not Behat/docs (or it is trying to cover this case but in a confusing way)

@everzet
Copy link
Member Author

everzet commented Jan 18, 2015

@stof done :) Thanks for wearing tester hat ;)

@everzet everzet force-pushed the feature/extensions branch 2 times, most recently from f318134 to cde0e64 Compare January 18, 2015 20:27
@everzet
Copy link
Member Author

everzet commented Jan 18, 2015

Domain done. Infra and UI is coming next.

@@ -0,0 +1,26 @@
<?php

namespace Dictionaries;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that all these traits are about transformations, using a Transformation namespace might be better

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point :) I was thinking about something more generic, but we don't need to be generic ATM. Maybe we'll never be.

@everzet everzet force-pushed the feature/extensions branch from 3cf64fe to a62a616 Compare January 20, 2015 07:46
private function repositoryContainsDocs(Repository $repository, Version $version)
{
return $this->existsInRepositoryVersion($repository, $version, 'index.rst')
|| $this->existsInRepositoryVersion($repository, $version, 'doc/index.rst');
|| $this->existsInRepositoryVersion($repository, $version, 'doc/index.rst');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong indentation change

This feature is not ready yet, but that's ok. I think this branch has
a lot of great stuff in it to grant a merge already. We'll work on UI
stuff in separate PR.
everzet added a commit that referenced this pull request Mar 11, 2015
@everzet everzet merged commit 59e99fd into master Mar 11, 2015
@everzet everzet deleted the feature/extensions branch March 11, 2015 22:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension pages
2 participants