Opened 5 years ago

Closed 5 years ago

#3175 closed task (fixed)

About page should be customizable

Reported by: tardyp Owned by: ChaseZhang
Priority: major Milestone: undecided
Version: 0.8.10 Keywords: web, simple
Cc:

Description (last modified by tardyp)

It should be easy to add version info customization for about page

  • version of the master.cfg, and its python dependancies
  • name of the project
  • url of the project

subtasks:

  • 'www' config dictionary should take a 'versions' argument that has key="<component name>" value="<version>"
  • versions are mixed in with python, twisted, and buildbot version, automatically found by core
  • versions, name, and url are transmitted via config to the UI, and displayed in about page

Change History (5)

comment:1 Changed 5 years ago by tardyp

  • Description modified (diff)

comment:2 Changed 5 years ago by ChaseZhang

  • Owner set to ChaseZhang
  • Status changed from new to assigned

comment:3 Changed 5 years ago by ChaseZhang

I'd like to finish this task but I have some questions.

I have no idea what is a version of the master.cfg and its python dependencies. Is the version a attribute maintained by the user by hand?

comment:4 Changed 5 years ago by dustin

That's all part of the subtasks. The idea would be to provide all of the version information via Python code (including some input from c['www'] in master.cfg), and then make that available to the Angular code.

I've done something vaguely similar in relengapi - https://github.com/mozilla/build-relengapi/blob/master/relengapi/app.py#L123 and https://github.com/mozilla/build-relengapi/blob/master/relengapi/lib/introspection.py if that helps you get started.

comment:5 Changed 5 years ago by ChaseZhang

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.