Bug 688155

Summary: RFE: It would be helpful to have the "last_sync_task_id" to be included with repo status
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Jason Connor <jconnor>
Status: CLOSED WONTFIX QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mmccune, tsanders
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-08 23:56:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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