New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HSoC: Tag Features #514

Closed
wants to merge 18 commits into
from

Conversation

Projects
None yet
2 participants
@SooryaN
Contributor

SooryaN commented Jun 21, 2016

  • Users can propose tags for packages and Maintainers/ Trustees can accept them
  • There's now a tag index at /packages/names/tags
  • Trustees can alias tags
@gbaz

This comment has been minimized.

Show comment
Hide comment
@gbaz

gbaz Sep 9, 2016

Contributor

@dcoutts @hvr when you get time we should review and merge

Contributor

gbaz commented Sep 9, 2016

@dcoutts @hvr when you get time we should review and merge

SooryaN added some commits Jun 13, 2016

Tags for review
Cateories are parsed into tags. Helper functions to allow for tags to be proposed and accepted set up

Cleaned up the interface
Browsable Package Index
Added Author and Maintainer fields to PackageItem
jQuery DataTables used for the page
Added votes as a queryable parameter
UI changes to propose/accept tags
Smoothened rough edges in tag proposals
A clickable UI for accepting/rejecting tags
Added get method to /package/:pkgname/tags
shifted forms to a separate template
Tag Aliasing
When a trustee aliases Tag abcd -> Tag abc, all packages that were earlier
tagged `abcd` get tagged to `abc` and any new packages tagged `abcd` get
retagged `abc` on upload
Cleaning up earlier code
Added backup functions for tag alias
Fixed tag aliasing bug on startup
Addresses #440 and #511
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
Miscalleneous
Limit revdeps to keep track of latest 5 versions
Represent all the dep stats as ReverseCount
HTML views for Revdeps by PackageID
Popularity Metric based on RevDeps/Votes/Downloads
Tag pages with packages by popularity
Maintainers link
Add maintainers link to dataTables interface
Minor Fixes
Fixes category parsing error.
"a,b," now parsed to ["a","b"] as opposed to ["a","b",""]
Minor UI fixes
Fixes tag-edit.html error (caused by rebase)
Multiple Maintaners
multiple maintainers (if present) show up in the search tables as
opposed to just the latest uploader
Array Doubling
adaptive doubling for rev deps graph
Ajax(ed?) package page redirects
reverse dependencies and voting don't redirect
spacing and UI fixes as pointed
Related packages
A simple related packages view
(currently based on bm25f results)
WebGL graph of packages and dependencies
A visualization of the package database
Tabular search interface
Edited the output of /packages/search to use the datatables interface

@gbaz gbaz referenced this pull request Oct 23, 2016

Open

Tags and deps #551

@gbaz

This comment has been minimized.

Show comment
Hide comment
@gbaz

gbaz Oct 23, 2016

Contributor

Sorry it took so long to review. It mainly looks good. I added some tweaks and cleanup on #551 and hopefully it can be merged soon! Closing in favor of that...

Contributor

gbaz commented Oct 23, 2016

Sorry it took so long to review. It mainly looks good. I added some tweaks and cleanup on #551 and hopefully it can be merged soon! Closing in favor of that...

@gbaz gbaz closed this Oct 23, 2016

hvr added a commit to hvr/hackage-server that referenced this pull request Aug 21, 2017

Extend voting interface to allow score
This extends the package voting mechanism from boolean "stars"
to integral "lambdas", and using the statistical method outlined
in

  http://www.evanmiller.org/how-not-to-sort-by-average-rating.html

to compute an overall score.

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and myself.

@hvr hvr referenced this pull request Aug 21, 2017

Merged

Extend voting interface to allow score #609

1 of 1 task complete

hvr added a commit to hvr/hackage-server that referenced this pull request Aug 25, 2017

Extend voting interface to allow score
This extends the package voting mechanism from boolean "stars"
to integral "lambdas", and using the statistical method outlined
in

  http://www.evanmiller.org/how-not-to-sort-by-average-rating.html

to compute an overall score.

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and myself.

NOTE: Detecting non-anonymous users to display the user's current vote
      doesn't work yet. This will be fixed at some later point.

hvr added a commit to hvr/hackage-server that referenced this pull request Aug 26, 2017

Implement new table-based browsable package index
The new index relies on jQuery DataTables to implement client-side
sorting.

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and myself.

hvr added a commit to hvr/hackage-server that referenced this pull request Aug 26, 2017

Implement new table-based browsable package index
The new index relies on jQuery DataTables to implement client-side
sorting.

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and myself.

hvr added a commit that referenced this pull request Aug 27, 2017

Implement new table-based browsable package index
The new index relies on jQuery DataTables to implement client-side
sorting.

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and myself.

hvr added a commit to hvr/hackage-server that referenced this pull request Aug 27, 2017

Enhance Tagging feature
- UI for proposing tag changes

- Clickable UI for accepting/rejecting tags

- Add GET method to /package/:pkgname/tags

- Categories are parsed into tags

- Tag aliasing support
  (When a trustee aliases Tag abcd -> Tag abc, all packages that were earlier
  tagged `abcd` get tagged to `abc` and any new packages tagged `abcd` get
  retagged `abc` on upload)

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and Herbert.

@hvr hvr referenced this pull request Aug 27, 2017

Merged

Enhance Tagging feature #613

hvr added a commit to hvr/hackage-server that referenced this pull request Aug 27, 2017

Enhance Tagging feature
- UI for proposing tag changes

- Clickable UI for accepting/rejecting tags

- Add GET method to /package/:pkgname/tags

- Categories are parsed into tags

- Tag aliasing support
  (When a trustee aliases Tag abcd -> Tag abc, all packages that were earlier
  tagged `abcd` get tagged to `abc` and any new packages tagged `abcd` get
  retagged `abc` on upload)

This has been factored out of the HSoC work #514 by @SooryaN

The code has been refactored & cleaned up by Duncan, Gershom and Herbert.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment