• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

release-engineering / product-definition-center
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: PDC-1133_script_for_release_components
DEFAULT BRANCH: master
Repo Added 04 Aug 2015 08:49AM UTC
Files 167
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH json-404
branch: json-404
CHANGE BRANCH
x
Reset
  • json-404
  • Add-PDC-client-to-upstream
  • Not-Convert-False-Filter
  • PDC-1000
  • PDC-1002
  • PDC-1002_Revisit_unique_constraint
  • PDC-1005
  • PDC-1006_import_rpms_data
  • PDC-1007_Update_references_to_release_component
  • PDC-1014
  • PDC-1018_list-my-permissions
  • PDC-1020
  • PDC-1025_build-images-plugin
  • PDC-1026_Bulk-not-working
  • PDC-1027_Rename-resource-names
  • PDC-1030
  • PDC-1038
  • PDC-1052_add_the_link_of_changes
  • PDC-1053
  • PDC-1055_package-new-pdc-client-interface
  • PDC-1056_make_count_limit_consistent
  • PDC-1056_multiple_contact_with_same_role
  • PDC-1063
  • PDC-1067
  • PDC-1091_Restructure_menus_webUI
  • PDC-1091_remove_Arches_and_Sigkeys_Items
  • PDC-1129
  • PDC-1133_script_for_release_components
  • PDC-1134_Correct-doc-for-pdc-client
  • PDC-1135
  • PDC-1145
  • PDC-1157_update_global_component_take_name_instead_of_id
  • PDC-1159_client_release_component_update
  • PDC-1161_add_pdc_bash_completion
  • PDC-463_rename_repos_resource
  • PDC-57
  • PDC-639_track_rpms_in_releases
  • PDC-645_refactor_compose_package
  • PDC-709-Order_resources_on_web_and_cli
  • PDC-740_track_request_length
  • PDC-869
  • PDC-872-component-groups-create-without-components
  • PDC-873_Correct_validation_for_component_groups
  • PDC-888_able-to-set-type-to-null
  • PDC-890_subtasks_917_918_919
  • PDC-905-Create-release-component-relationships
  • PDC-905_catch_more_detail_exception
  • PDC-912_contact_related_api
  • PDC-912_contact_related_api_without_inheritance
  • PDC-916_Add_links_to_existing_resources
  • PDC-920_create_readonly_list_of_varianttpyes
  • PDC-923_keep_track_pdc_comments
  • PDC-935_return_unique_composes_when_get_rpm
  • PDC-936_remove_delete_related_methods_for_rpms_api
  • PDC-940_not_found_enhancement
  • PDC-940_pdc_client_not_found_enhancement
  • PDC-942-add-unit-test-for-SortedRouters
  • PDC-944_Move-out-product-version
  • PDC-947_boolean_values_filters_not_sensitive
  • PDC-948
  • PDC-950_update_dev_env_setup_document
  • PDC-957_change_non_field_errors
  • PDC-960_Order_resources_in_client
  • PDC-976
  • PDC-981_Remove-ReleaseRelatedField
  • PDC-982_not_create_new_role
  • PDC-990_Rename_endpoint
  • PDC-991_error_reporting
  • Remove-rel-eng-directory
  • add-duds
  • add-release-clone
  • all-routes-in-root
  • allow-nested-args
  • auto-filters
  • auto-serializer
  • auto-urls
  • better-client
  • bulk-options
  • changeset-docs
  • client-create-usage
  • client-debug
  • client-documentation
  • client-rebased
  • client-tests
  • clone-osbs
  • component
  • component-contact
  • component-labels-response
  • compose-image-link
  • compose-rpm-mapping-update-link
  • composeimage-migration
  • contact-client
  • decode-urls-in-root
  • destroy-contact-doc
  • development-docs
  • doc-fixes
  • doc-fixups
  • doc-spelling
  • doc_messaging
  • duplicate-finder
  • error-on-read-only-field
  • fedora_copr
  • fix-client-release-update
  • fix-client-tests
  • fix-component-migrations
  • fix-component-plugin
  • fix-current-user
  • fix-epoch-filter
  • fix-hack-names
  • fix-json-in-docs
  • fix-login
  • fix-logout-crash
  • fix-pdc-client-spec
  • fix-plugin-helpers
  • fix-repo-table
  • fix-typo
  • fix_bulk_ops_tests
  • fix_default_metadata_class
  • get-correct-version
  • git-path
  • improve-client-class
  • improve-documentation
  • incorrect-composeinfo-error
  • landing-page
  • master
  • messaging_stomp
  • new-contacts
  • not_ready_DRFv3.3
  • osbs
  • osbs-description
  • partners
  • partners-optional-dirs
  • pdc-1008-composes-across-releases
  • pdc-1010
  • pdc-1011
  • pdc-1022
  • pdc-1029
  • pdc-1066
  • pdc-1068
  • pdc-1071-repo-retrieve
  • pdc-1085
  • pdc-1088
  • pdc-1094
  • pdc-1095
  • pdc-1098-doc-renderer
  • pdc-1099
  • pdc-1100
  • pdc-1101
  • pdc-1104-product-id-filter
  • pdc-1107-sort-arches
  • pdc-1115-help-popover
  • pdc-1118-unlimited-field
  • pdc-1164-partner-filters
  • pdc-1193
  • pdc-355-promote-clone
  • pdc-634-sigkey
  • pdc-642-bulk-options
  • pdc-714-descriptions
  • pdc-868-component-for-missing-release
  • pdc-875-del-type-with-group
  • pdc-904-contact-doc
  • pdc-910-bulk-delete-dict
  • pdc-911-compose-images
  • pdc-915-log-exceptions
  • pdc-928-compose-doc
  • pdc-952-inconsistent-import
  • pdc-959
  • pdc-975-api
  • pdc-980-bad-response-doc
  • pdc-995-log-filename
  • pdc-999
  • pdc-client
  • pdc-client-0.1.0-1
  • python-pdc-0.1.0-1
  • readme-badges
  • relationship-type-error
  • release-0.1.0
  • release-types-api
  • release-variants-url
  • remove-client
  • repo-filters
  • repo-ui
  • rpms-deps
  • serializer-for-component-types
  • speed-up-product-list
  • split-arguments
  • test-fixup
  • tito-tag
  • travis-coveralls
  • update-diagrams
  • update-footer
  • update-old-client
  • v0.1.0
  • v0.1.0-alpha.2
  • v0.2.0
  • variants-preloading
  • verify-migrations

pending completion
1076

push

travis-ci

lubomir
Return JSON 404 response from Django

When Django generates 404 response, it would always return the rendered
template, which is not nice as the client might be expecting JSON. This
patch adds a check for the Accept HTTP header. If it mentions
application/json MIME type, JSON object is returned instead.

This is automatically picked by pdc_client as it already adds the
header.

JIRA: PDC-1106

6793 of 7593 relevant lines covered (89.46%)

0.89 hits per line

Relevant lines Covered
Build:
Build:
7593 RELEVANT LINES 6793 COVERED LINES
0.89 HITS PER LINE
Source Files on json-404
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1076 json-404 Return JSON 404 response from Django When Django generates 404 response, it would always return the rendered template, which is not nice as the client might be expecting JSON. This patch adds a check for the Accept HTTP header. If it mentions app... push 23 Oct 2015 12:21PM UTC lubomir travis-ci pending completion  
See All Builds (1124)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc