Bug 688155 - RFE: It would be helpful to have the "last_sync_task_id" to be included with repo status
Summary: RFE: It would be helpful to have the "last_sync_task_id" to be included with ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-16 13:47 UTC by Preethi Thomas
Modified: 2014-03-31 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-08 23:56:55 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2011-03-16 13:47:41 UTC
Description of problem:

See that the following does not show last_sync_task_id. It may be beneficial to have that  as well.


[root@preethi ~]# curl -k -u admin:admin https://preethi.usersys.redhat.com/pulp/api/repositories/f14-update/ |json_reformat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1053    0  1053    0     0    819      0 --:--:--  0:00:01 --:--:--   823
{
  "use_symlinks": false,
  "files": "/pulp/api/repositories/f14-update/files/",
  "sync_schedule": null,
  "clone_ids": [

  ],
  "groupid": [

  ],
  "distributionid": [

  ],
  "publish": true,
  "last_sync": "1300210706",
  "source": {
    "url": "http://ftp.linux.ncsu.edu/pub/fedora/linux//updates/14/x86_64/",
    "type": "yum",
    "supported_types": [
      "yum",
      "local",
      "rhn"
    ]
  },
  "relative_path": "pub/fedora/linux//updates/14/x86_64",
  "filters": [

  ],
  "checksum_type": "sha256",
  "_id": "f14-update",
  "arch": "noarch",
  "id": "f14-update",
  "name": "f14-updates",
  "packages": "/pulp/api/repositories/f14-update/packages/",
  "packagegroups": "/pulp/api/repositories/f14-update/packagegroups/",
  "packagegroupcategories": "/pulp/api/repositories/f14-update/packagegroupcategories/",
  "errata": "/pulp/api/repositories/f14-update/errata/",
  "distribution": "/pulp/api/repositories/f14-update/distribution/",
  "keys": "/pulp/api/repositories/f14-update/keys/",
  "comps": "/pulp/api/repositories/f14-update/comps/",
  "uri_ref": "/pulp/api/repositories/f14-update/",
  "package_count": 6837,
  "files_count": 40
}

Comment 1 Jason Connor 2012-11-08 23:56:55 UTC
This has been addressed in v2 with the sync history collection


Note You need to log in before you can comment on or make changes to this bug.