Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: katello-cli-te…
Commits on Mar 15, 2012
  1. @iNecas
  2. @iNecas
  3. @iNecas
  4. @iNecas
  5. @pitr-ch
  6. @bbuckingham

    799357 - manifest import - fix for nil error message

    bbuckingham authored
    This commit addresses the 'undefined method `include?' for nil:NilClass'
    error that was occuring on a manifest import that generated a 403 forbidden
    from the CDN.  It provides a standard failure message and places the
    backtrace in the error notices optional details.
    Currently, the controller does not have access to further details; however,
    that may change very soon.  When it does, we'll revisit this logic to see
    if additional changes are needed.
  7. @iNecas

    803441 - add support for spaces in system tests --rand-prefix command

    iNecas authored
    Allows the automation of detection of problems when spaces are in names of
    organizations, products, repos etc.
      scripts/system-test/cli_system-test "all" --rand-prefix "a a"
Commits on Mar 14, 2012
  1. @ehelms
  2. @bbuckingham

    800169 - Users - do not allow setting of def org, if the org has no envs

    bbuckingham authored
    With these changes, a user can no longer set a default org to a user
    (on create or edit), if that org has no environments associated with it.
  3. @jlsherrill

    799122 - showing warning if trying to promote repo with failed sync o…

    jlsherrill authored
    …r currently syncing
    when hitting promote, if some product in the changeset has a repo that is either currently syncing or has an error on its last sync, we will show a warning.  The user can still continue or cancel, but we are at least warning the user.
  4. @iNecas

    799512 - fix progress calculation for commands with more subtasks

    iNecas authored
    In case that the task consist of more subtasks (usually product or provider
    synchronization) we were facing a problem that we calculated the progress from
    finished/unfinished files download reported by pulp but we didn't know the
    total number of files at the beginning. So the total number of files was
    changing every time a new sync task changed from pending to running.
    Therefore we so something like this:
        Progress: [                                                  ] 1.1%
        Progress: [                                                  ] 0.5%
        Progress: [                                                  ] 0.7%
        Progress: [                                                  ] 1.4%
        Progress: [#                                                 ] 3.3%
    After this change the progress for tasks consisting from more subtasks is
    calculated from this number of finished/unfinished tasks. For single repo
    synchronization it stays the same. For product or provider synchronization the
    progress bar won't be theoretically so accurate (the progress bar will grow the
    same amount regardless small or large repo). But since we can't get the size of
    repo before the synchronization started it's better. For more details the user
    can to to UI (sync management).
Commits on Mar 13, 2012
  1. @jlsherrill

    802897 - setting default index type for all facts to string

    jlsherrill authored
    Prior to this system fact types were set automatically in
    the search server, so certain facts could be detected poorly
    as dates.  This resulted in some systems failing to index
    properly due to their facts not being able to be interpreted
    as dates.
    By setting a dynamic template on the index,
    everything under facts will be automatically set to the
    string type and keyword analyzer.
  2. @bbuckingham

    801148 - providers - fix tabindex for products and repos

    bbuckingham authored
    This commit addresses a few small items:
    1. fix the tab index for the product and repo subpanels
    2. refactor the logic added in environment_new.js, to become part
       of the panel.js and subpanel_new.js... enabling us to use that
       same fantastic logic in products and repos
    3. fix a couple of small i18n strings
    4. update the Providers => Products and Repos tab to have all
       products 'expanded'.  (I.e. do not require user to click the
       arrow to expand)
  3. @iNecas
  4. @iNecas
  5. @iNecas

    798683 - handle errors comming from repo synchronization

    iNecas authored
    Even if Pulp reports the synchronization finished that doesn't mean that the
    synchronization was successful. We check this explicitely and format error
    message correctly in UI and CLI so that this get information gets to
    user through notifications, cli status and logs.
    We mark this synchronizations as failed.
  6. @iNecas
  7. @mbacovsky

    799052 - Promoting template with assigned repo should fail if product…

    mbacovsky authored
    … is not already in the target environment
    - added unittest for the change in promote
  8. @mbacovsky

    799052 - Promoting template with assigned repo should fail if product…

    mbacovsky authored
    … is not already in the target environment
    - now it fails with the following message Cannot promote the changset 'changeset' because the repo 'repo' does not belong to any promoted product.
  9. @ehelms

    801547 - GPG Key: Adds validation that gpg key does not contain binary

    ehelms authored
    Attempting to upload a gpg key file with binary data would cause a nasty
    postgres traceback since we store the gpg data as a text field.  This
    bug adds a custom validator to the model to check that the gpg key text
    is UTF-8 encodable.
  10. @ehelms
  11. @pitr-ch
  12. @tstrachota
  13. @tstrachota
  14. @tstrachota
  15. @tstrachota

    799351 - system reports does not show first 2 columns (in pdf format)

    tstrachota authored
    This bug was caused by pdf-writer used by Ruport library. It tries to guess correct column widths. It sometimes fails and then columns with zero width are not displayed. This can be prevented by setting fixed column width in options for pdf report.
  16. @tstrachota

    799351 - cli - fix for converting all incoming data to unicode

    tstrachota authored
    Now only textual data coming from server get translated to unicode on cli side.
  17. @iNecas
  18. @iNecas

    798376 - handle change in value returned by repo.sync method

    iNecas authored
    In wail_for_tasks it was expected there is always a pulp task given. After this
    change also delayed job task is accepted.
Commits on Mar 12, 2012
  1. @weissjeffm

    Revert "802346 - wait until PostgreSQL accepts connections"

    weissjeffm authored
    This reverts commit 08a13f4.
    This commit causes katello-configure to fail with:
    'for i in {1..6}; do /usr/bin/psql -U postgres -h localhost -c 'select count(*) from pg_tables' >/dev/null 2>&1 || sleep 5; done' is not qualified and no path was specified. Please qualify the command or specify a path.
  2. @knowncitizen
  3. @pitr-ch
  4. @lzap
  5. @lzap
  6. @lzap
Something went wrong with that request. Please try again.