Menu

#43 unhadled trailing '/' in repo definitions in classes.conf

cpacman-0.7.2
open
None
7
2008-11-26
2008-11-04
No

Consider config
rpm_db_path=%(rpm_base)s:%(yum_cache)s/rpmforge/packages/
updates_exclude=%(yum_cache)s/rpmforge/packages

if you remove trailing slash in the first line (rpm_db_path) - than class behaves as expected, otherwise updates_exclude totally misses out on this and lets rpmforge packages through.

Discussion

  • Dmitry S. Makovey

    • priority: 5 --> 7
     
  • Dmitry S. Makovey

    • milestone: --> 812365
     
  • Dmitry S. Makovey

    Trailing slashes are not handled well at all in all path definitions (inside of classes.conf and 2install). For example manually crafted 2install with trailing slash in the path would be rejected by policy since that path is not "defined" in classes.conf according to CPacMan.

     
  • Dmitry S. Makovey

    fixed in 0.7 branch (203:204)

     
  • Dmitry S. Makovey

    • assigned_to: nobody --> dmakovey
    • status: open --> pending-accepted
     
  • Dmitry S. Makovey

    • milestone: 812365 --> cpacman-0.7.2
    • status: pending-accepted --> open-accepted
     
  • Dmitry S. Makovey

    bug was accepted to be addressed in next release (see group tag of the bug).

     

Log in to post a comment.