Skip to content

Commit

Permalink
Restores documents
Browse files Browse the repository at this point in the history
  • Loading branch information
rfns committed May 9, 2019
1 parent 2ee72b2 commit 18fb0e8
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 171 deletions.
40 changes: 40 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# CONTRIBUTING

In order to contribute to this repository, some few guidelines should be followed.

## When opening issues

Before opening issues, please verify if there's already another issue with a similar subject. Meanwhile, your report could be fixed
by another contributor, so it's also recommended to check the [pull requests](https://github.com/rfns/port/pulls).

### Issue opening model

When opening a new issue, the title must be short though objective.
And the content must provide the following data:

* __Caché Version__: What's the version you were using when the error ocurred?
* __Operational System__: Normally Windows, but providing the release is a plus.
* __Problem Description__: Detail your problem.
* __Steps to Reproduce__: How could we reproduce the issue?

However you may open an issue to ask or suggest something exclusively related to the development of this project without the need of
fullfiling the requirements above.

## Contributing as a coder

1. [fork](https://github.com/rfns/port#fork-destination-box) this project.
2. Make a branch, try to avoid using `master` to prevent confusion.
3. Fix or add new features.
5. Test, test and test again.
6. All your tests passed? Then `commit` your change.
7. Update your fork, `git push origin <your-feature-branch>`.
8. Open a new pull [pull request](https://github.com/rfns/port/pulls) for this repo.
7. Standby while your commit is evaluated by the mantainers.
8. When approved, your PR will be merged to the base.
9. Not approved? Uh-oh, something might be missing or breaking the current release. Check the details on your PR.

## Code

* Two spaces.
* English only, though localized documentation is more than welcome.
* New features should preferably be tested with unit tests.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Rubens F. N. da Silva

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
16 changes: 0 additions & 16 deletions cls/Port/Configuration.cls
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,6 @@ ClassMethod RemoveCustomWorkspace(projectName As %String)
kill ^Port.Configuration("workspace.project", projectName)
}

ClassMethod SetPrimaryWebApplication(webApp As %String, namespace As %String = {$namespace}) As %Status
{
$$$QuitOnError(##class(Port.Util2).DiscoverQualifiedWebApplication(namespace, .webApp, .path))
set ^Port.Configuration("webApplication.path") = path
set ^Port.Configuration("webApplication.name") = webApp
quit $$$OK
}

ClassMethod SetCustomWebApplication(projectName As %String, webApp As %String, namespace As %String = {$namespace}) As %Status
{
$$$QuitOnError(##class(Port.Util2).DiscoverQualifiedWebApplication(namespace, .webApp, .path))
set ^Port.Configuration("workspace.webApplication.path", projectName) = path
set ^Port.Configuration("workspace.webApplication.name", projectName) = webApp
quit $$$OK
}

/// Remove all Port configurations. This will not erase project logs.
ClassMethod Uninstall() As %Status
{
Expand Down
Loading

0 comments on commit 18fb0e8

Please sign in to comment.