Branch: refs/heads/master
Home: https://github.com/openSUSE/software-o-o
Commit: a9566bbe9e31a98ad76d845c435fffc35564b579
https://github.com/openSUSE/software-o-o/commit/a9566bbe9e31a98ad76d845c435f...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M config/options.yml
Log Message:
-----------
Use development credentials for tests
The previously used credentials resulted in authorization errors,
but the development credentials work fine.
Commit: 369eec442f78776e88c144dac130fd6505d9de86
https://github.com/openSUSE/software-o-o/commit/369eec442f78776e88c144dac130...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M Gemfile
M Gemfile.lock
Log Message:
-----------
Update development gems
Add byebug and web-console for easier debugging.
Commit: 3594bc26c5641d6aff455c7bcd2136d65e60197b
https://github.com/openSUSE/software-o-o/commit/3594bc26c5641d6aff455c7bcd21...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M Gemfile
M Gemfile.lock
M config/initializers/activexml.rb
A lib/obs.rb
A test/obs_test.rb
M test/support/vcr/default.yml
Log Message:
-----------
Add OBS mini client
Use a mini client for connections to our backend OBS. This client is
based on Faraday, a flexible HTTP client library. It is easily
extensible by Rack middleware and hopefully makes it easier to debug
memory issues. It will replace Seeker, the currently used model that
handles these queries, together with ActiveXML.
Co-authored-by: Duncan Mac-Vicar P
Commit: 74d45a156409138cf3a3f66b605e3b388db2c876
https://github.com/openSUSE/software-o-o/commit/74d45a156409138cf3a3f66b605e...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M lib/obs.rb
M test/obs_test.rb
Log Message:
-----------
Add OBS:QualityCategory attribute search
Binaries need "quality" attributes that come from their projects,
so that "private" binaries can be filtered out.
Commit: ea30c076731afef748af7d338f757256e4855947
https://github.com/openSUSE/software-o-o/commit/ea30c076731afef748af7d338f75...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M lib/obs.rb
M test/obs_test.rb
Log Message:
-----------
Add Fileinfo to binaries
Binaries need additional information that we can display in the views.
This additional information consist of a one-line summary, a description
and the binary size.
Commit: aa89e1fcb5202de13c8491891ae136697da59fab
https://github.com/openSUSE/software-o-o/commit/aa89e1fcb5202de13c8491891ae1...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M lib/obs.rb
Log Message:
-----------
Add relevance to binaries and sort returned Array
Relevance logic is taken from Seeker, the current implementation of the
Binary queries.
Commit: 9051f19d00ad92eb1472a58170009e420cdb5907
https://github.com/openSUSE/software-o-o/commit/9051f19d00ad92eb1472a5817000...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M lib/obs.rb
Log Message:
-----------
Use Rails.cache for binary queries to OBS
Other queries are already cached and requests to OBS should be kept as
minimal as possible to reduce loading times and bandwidth usage.
Commit: b2152540d2e6809de1356589ba064148044fe268
https://github.com/openSUSE/software-o-o/commit/b2152540d2e6809de1356589ba06...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M app/controllers/application_controller.rb
M app/controllers/obs_controller.rb
M app/controllers/package_controller.rb
M app/controllers/search_controller.rb
M app/helpers/application_helper.rb
M app/views/package/show.html.erb
M app/views/search/_find_results.html.erb
Log Message:
-----------
Migrate controllers and views to new OBS client
The controllers don't rely on Seeker anymore but instead make use of the
new OBS mini client. Views are adjusted to the small difference between
the old and new data structure.
One example for that is that binary.size does not work as previously, as
size is a built-in method and binary is a modified Hash. Therefore, the
hash-like binary[:size] notation is used.
Commit: 3b6f05c05282d73c15d73d8bb15512f5877ca928
https://github.com/openSUSE/software-o-o/commit/3b6f05c05282d73c15d73d8bb155...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M lib/obs.rb
Log Message:
-----------
Improve performance of binary search
Two changes to increase performance of search_published_binary:
- Instead of iterating three times with .map, just iterate once with
.each
- Use of sort_by instead of sort, it is more efficient.
Co-authored-by: Ana María Martínez Gómez
Commit: 5bdaca40d367c81ade838b9369569edbfde07830
https://github.com/openSUSE/software-o-o/commit/5bdaca40d367c81ade838b936956...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M app/helpers/application_helper.rb
R app/models/seeker.rb
R config/initializers/activexml.rb
A config/initializers/obs_client.rb
R lib/activexml/activexml.rb
R lib/activexml/matcher.rb
R lib/activexml/node.rb
R lib/activexml/transport.rb
M lib/tasks/fill_search_cache.rake
Log Message:
-----------
Remove ActiveXML library
ActiveXML has been fully replaced by lib/obs.rb and is not needed
anymore.
Commit: 577fbd3701b1227780cb421389a3d4f2e8789a38
https://github.com/openSUSE/software-o-o/commit/577fbd3701b1227780cb421389a3...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M lib/obs.rb
Log Message:
-----------
Improve add_fileinfo_to_binary comments
Small improvements to clarify two comments.
Commit: 70925837801958789be9f672b215d4b671dcd190
https://github.com/openSUSE/software-o-o/commit/70925837801958789be9f672b215...
Author: Alexander Graul
Date: 2019-01-02 (Wed, 02 Jan 2019)
Changed paths:
M app/helpers/application_helper.rb
M lib/obs.rb
Log Message:
-----------
Load fileinfo on-demand
Instead of loading fileinfo for each binary in
`search_published_binaries`, the fileinfo query is started in
application_helper#search_for_description. That method returns a binary
that has fileinfo for the views to display and is the only place that
makes use of fileinfo as of now.
Commit: 8c80540c2fc23379222df8be64745b70156d467d
https://github.com/openSUSE/software-o-o/commit/8c80540c2fc23379222df8be6474...
Author: Duncan Mac-Vicar P
Date: 2019-01-04 (Fri, 04 Jan 2019)
Changed paths:
M Gemfile
M Gemfile.lock
M app/controllers/application_controller.rb
M app/controllers/obs_controller.rb
M app/controllers/package_controller.rb
M app/controllers/search_controller.rb
M app/helpers/application_helper.rb
R app/models/seeker.rb
M app/views/package/show.html.erb
M app/views/search/_find_results.html.erb
R config/initializers/activexml.rb
A config/initializers/obs_client.rb
M config/options.yml
R lib/activexml/activexml.rb
R lib/activexml/matcher.rb
R lib/activexml/node.rb
R lib/activexml/transport.rb
A lib/obs.rb
M lib/tasks/fill_search_cache.rake
A test/obs_test.rb
M test/support/vcr/default.yml
Log Message:
-----------
Merge pull request #387 from alexandergraul/obs-client
Add OBS Client
Compare: https://github.com/openSUSE/software-o-o/compare/24cc83a32759...8c80540c2fc2
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.