1. 22 Jun, 2015 1 commit
    • Paul Eggert's avatar
      Port tests to help-quote-translation · f3cec819
      Paul Eggert authored
      * test/automated/ert-x-tests.el (ert-test-describe-test):
      * test/automated/package-test.el (package-test-describe-package)
      (package-test-signed): Allow straight quotes, too.
      f3cec819
  2. 29 May, 2015 1 commit
  3. 21 May, 2015 1 commit
  4. 29 Apr, 2015 1 commit
  5. 28 Apr, 2015 1 commit
  6. 12 Apr, 2015 3 commits
  7. 06 Apr, 2015 1 commit
  8. 01 Apr, 2015 2 commits
  9. 10 Feb, 2015 1 commit
  10. 05 Feb, 2015 2 commits
  11. 03 Feb, 2015 1 commit
  12. 23 Jan, 2015 2 commits
    • Dmitry Gutov's avatar
      Backport: Fix package tests when TMPDIR is in HOME · 81fb8ab0
      Dmitry Gutov authored
      Fixes: debbugs:19657
      
      * test/automated/package-test.el (with-package-test):
      Bind `abbreviated-home-dir' to nil.
      (package-test-describe-package, package-test-signed):
      Expect abbreviated directory names.
      
      (cherry picked from commit f02406c7)
      81fb8ab0
    • Dmitry Gutov's avatar
      Fix package tests when TMPDIR is in HOME · f02406c7
      Dmitry Gutov authored
      Fixes: debbugs:19657
      
      * test/automated/package-test.el (with-package-test):
      Bind `abbreviated-home-dir' to nil.
      (package-test-describe-package, package-test-signed):
      Expect abbreviated directory names.
      f02406c7
  13. 22 Jan, 2015 1 commit
  14. 20 Jan, 2015 1 commit
  15. 16 Jan, 2015 2 commits
    • Jorgen Schaefer's avatar
      Fix the automated test for package priorities. · 78e6ccc4
      Jorgen Schaefer authored
      * automated/package-test.el (package-test-install-prioritized):
      New test.
      78e6ccc4
    • Jorgen Schaefer's avatar
      Package archives now have priorities. · b689b906
      Jorgen Schaefer authored
      * lisp/package.el: Provide repository priorities.
      (package-archive-priorities): New variable.
      (package--add-to-alist): New function.
      (package--add-to-archive-contents): Use it.
      (package-menu--find-upgrades): Use it as well. Small clean up to
      make the use of the package name here explicit.
      (package-archive-priority): New function.
      (package-desc-priority-version): New function.
      
      Fixes: debbugs:19296
      b689b906
  16. 01 Jan, 2015 2 commits
  17. 04 Oct, 2014 1 commit
  18. 01 Oct, 2014 1 commit
    • Glenn Morris's avatar
      package-test tweaks for hydra · e694e2a9
      Glenn Morris authored
      * test/automated/package-test.el (with-package-test, package-test-signed):
      Also set HOME to a temp value, in case the real one is absent (e.g.
      hydra) or read-only. 
      (package-test-signed): Use skip-unless rather than expected-result.
      
      Fixes: debbugs:18575
      e694e2a9
  19. 25 Jun, 2014 1 commit
  20. 26 May, 2014 1 commit
  21. 23 Mar, 2014 1 commit
  22. 22 Mar, 2014 1 commit
    • Dmitry Gutov's avatar
      Fix bug#16873 · 1197f2e6
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package-desc): Use the contents of the
      quoted form, not its cdr.
      1197f2e6
  23. 21 Mar, 2014 1 commit
    • Dmitry Gutov's avatar
      Fix bug#16826 · dcf78667
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package-compute-transaction):
      Use `version-list-<=' to compare the requirement version against
      the package version already to be installed.  Update the error
      message.
      dcf78667
  24. 01 Jan, 2014 1 commit
  25. 03 Oct, 2013 1 commit
    • Daiki Ueno's avatar
      Add support for package signature checking. · acbadd00
      Daiki Ueno authored
      * lisp/emacs-lisp/package.el (url-http-file-exists-p)
      (epg-make-context, epg-context-set-home-directory)
      (epg-verify-string, epg-context-result-for)
      (epg-signature-status, epg-signature-to-string)
      (epg-check-configuration, epg-configuration)
      (epg-import-keys-from-file): Declare.
      (package-check-signature): New user option.
      (package-unsigned-archives): New user option.
      (package-desc): Add `signed' field.
      (package-load-descriptor): Set `signed' field if .signed file exists.
      (package--archive-file-exists-p): New function.
      (package--check-signature): New function.
      (package-install-from-archive): Check package signature.
      (package--download-one-archive): Check archive signature.
      (package-delete): Remove .signed file.
      (package-import-keyring): New command.
      (package-refresh-contents): Import default keyring.
      (package-desc-status): Add "unsigned" status.
      (describe-package-1, package-menu--print-info)
      (package-menu-mark-delete, package-menu--find-upgrades)
      (package-menu--status-predicate): Support "unsigned" status.
      
      * test/automated/data/package/signed/archive-contents:
      * test/automated/data/package/signed/archive-contents.sig:
      * test/automated/data/package/signed/signed-good-1.0.el:
      * test/automated/data/package/signed/signed-good-1.0.el.sig:
      * test/automated/data/package/signed/signed-bad-1.0.el:
      * test/automated/data/package/signed/signed-bad-1.0.el.sig:
      * test/automated/data/package/key.pub:
      * test/automated/data/package/key.sec: New files.
      
      * test/automated/package-test.el (package-test-update-listing)
      (package-test-update-archives, package-test-describe-package):
      Adjust to package.el change.
      (package-test-signed): New test.
      acbadd00
  26. 01 Oct, 2013 1 commit
  27. 29 Sep, 2013 1 commit
    • Dmitry Gutov's avatar
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Pass · 056453c6
      Dmitry Gutov authored
      `extras' slot from `package-desc' to `package-make-ac-desc'.
      
      * lisp/emacs-lisp/package.el (package-desc-from-define): Accept
      additional arguments as plist, convert it to an alist and store it
      in the `extras' slot.
      (package-generate-description-file): Convert extras alist back to
      plist and append to the `define-package' form arguments.
      (package--alist-to-plist): New function.
      (package--ac-desc): Add `extras' slot.
      (package--add-to-archive-contents): Check if the archive-contents
      vector is long enough, and if it is, pass its `extras' slot value
      to `package-desc-create'.
      (package-buffer-info): Call `lm-homepage', pass the returned value
      to `package-desc-from-define'.
      (describe-package-1): Render the homepage button.
      
      * test/automated/package-test.el (simple-single-desc-1-4): Remove, it
      was unused.
      (simple-single-desc): Expect :homepage property.
      (multi-file-desc): Same.
      (with-package-test): Do not save previous `default-directory'
      value, let-bind the var instead.
      (package-test-install-single): Expect :homepage property in the
      generated pkg file.
      (package-test-describe-package): Expect Homepage button.
      (package-test-describe-non-installed-package)
      (package-test-describe-non-installed-multi-file-package): Same.
      (package-test-describe-not-installed-package): Remove, it was a
      duplicate.
      
      * test/automated/package-x-test.el
      (package-x-test--single-archive-entry-1-3): Expect :homepage
      property.
      (package-x-test--single-archive-entry-1-4): Expect nil extras slot.
      
      * test/automated/data/package/archive-contents: Add :homepage
      properties to `simple-single' and `multi-file'.
      
      * test/automated/data/package/simple-single-1.3.el: Add URL header.
      
      Fixes: debbugs:13291
      056453c6
  28. 20 Aug, 2013 1 commit
  29. 14 Aug, 2013 1 commit
  30. 11 Jul, 2013 1 commit
    • Glenn Morris's avatar
      Silence package-test.el compilation · 03d01981
      Glenn Morris authored
      * test/automated/package-test.el (makeinfo-buffer): Autoload.
      (compilation-in-progress, tar-parse-info, tar-header-name): Declare.
      (package-test-install-texinfo): Don't require makeinfo.
      03d01981
  31. 27 Jun, 2013 2 commits