Skip to content

Commit

Permalink
Merge pull request #28 from gabrielbazan/development
Browse files Browse the repository at this point in the history
Fix Repository Update
  • Loading branch information
gabrielbazan authored Dec 8, 2018
2 parents 631a8c3 + 10f5b3d commit b1ef8af
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ It allows you to:
* [Discovering Automatically Published Products](#discovering-automatically-published-products)
- [Setting Up Your Development Environment](#setting-up-your-development-environment)
- [The Graphic User Interface](#the-graphic-user-interface)
- [Who Uses LycheePy?](#who-uses-lycheepy)
- [Ideas](#ideas)


Expand Down Expand Up @@ -1235,6 +1236,17 @@ And now you're able to use your LycheePy instance.
LycheePy also has a web client! You you can find [here](https://github.com/gabrielbazan/lycheepy.cli).


## Who Uses LycheePy?

<a href="https://www.spacesur.com/">
<img src="https://media.licdn.com/dms/image/C4E0BAQEQOjb-MHjTDQ/company-logo_200_200/0?e=2159024400&v=beta&t=YiOE6cXePgO8_jLtLiAIdZUdZ7wHCIf3Dsp98R8TL28" height="100px" width="100px">
</a>



Do you use it? Add yourself! :)


## Ideas

Feel free to contribute, or come up with some ideas!
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ def validate_type(data, instance):
if instance:
if type_name and type_name != instance.type.name:
raise Conflict('The repository type cannot be changed')
repository_type = instance.type.name
repository_type = instance.type
else:
if not type_name:
raise Conflict('Please, specify the repository type')

repository_type = RepositoryType.query.filter_by(name=type_name).one_or_none()

if not repository_type:
Expand Down

0 comments on commit b1ef8af

Please sign in to comment.