Giter Site home page Giter Site logo

sfdo-tooling / mrbelvedere Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 13.0 4.61 MB

NOTE: See the old-master branch for the mrbelvedere codebase that was formerly in use.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
django heroku salesforce

mrbelvedere's People

Contributors

davisagli avatar dependabot-preview[bot] avatar jlantz avatar jstvz avatar jvarese avatar pyup-bot avatar timbarton1966 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mrbelvedere's Issues

Add social metadata

Currently, there is no preview of a package shown when sharing an installation url on social media such as Twitter. Add the necessary metadata to the page to allow a preview to be rendered when an installer url is shared.

This may require adding an optional image to each Package.

Heroku Deploy Error: "pysqlite is not supported on Python 3"

-----> Python app detected
-----> Installing python-3.6.7
-----> Installing pip
-----> Installing SQLite3
-----> Installing requirements with pip
pysqlite is not supported on Python 3. When using Python 3, use the sqlite3 module from the standard library.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hubzk065/pysqlite/
Push rejected, failed to compile Python app.
Push failed

Verbose Install Error Log Access

This could either be exclusively for IS Partners, or something that anyone doing an NPSP 3 install via Mr. Belvedere could trigger at the time the install is initiated. Perhaps a checkbox for "Verbose Install Error Log" to make it available as a CSV to help diagnose nonspecific error messages. Example scenario:

"Maximum Number of Rollup Summaries Exceeded" It would be great to know where the installer stopped, on which Object, and why, without having to comb through all the Objects the bundled NPSP managed packages touch during installation looking for where they're adding.

Deployment to Heroku

Hi there,

I encountered an error when trying to deploy the app to my heroku. Are you able to help?

-----> Python app detected
-----> Installing python-3.6.5
-----> Installing pip
-----> Installing requirements with pip
Collecting Django>=1.10.0 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl (7.1MB)
Collecting HireFire>=0.4 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/e3/76/835048b9c26953e0a2160f1b93fff583e3da34fffa93b12e3fdc7f8b276e/HireFire-0.5-py2.py3-none-any.whl
Collecting Markdown>=2.6.7 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB)
Collecting dj-database-url>=0.4.1 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl
Collecting dj-static>=0.0.6 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/2b/8f/77a4b8ec50c821193bf9682c7896f12fd0418eb3711a7d66796ede59c23b/dj-static-0.0.6.tar.gz
Collecting django-angular==0.8.4 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/0e/65/54b4a6bc4e4b482bf248b7ef7198962c9a98d3aac8b3b70cce3cf0de9219/django-angular-0.8.4.tar.gz
Collecting django-bootstrap3==2.5.6 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/3a/c2/370f3b336407f359395c45c1261a6e261b8cae48c5eb975524cf350556e6/django-bootstrap3-2.5.6.tar.gz
Collecting django-crispy-forms==1.6.0 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/fd/68/2c9f7670f7b6f1b139642255e1e33d88e8f689e4c215f94eec00d38b05a2/django-crispy-forms-1.6.0.tar.gz (118kB)
Collecting django-rq==0.9.2 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/d9/22/00d038b6133d552e79222c2915aeaf74ab0ded19d9f90d7db4e3126b71f3/django_rq-0.9.2-py2.py3-none-any.whl
Collecting django-slds>=0.1.2 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/44/04/3326ffa6b384c1fa333eba1f5c105a7fa96c0a487fae50612a7cb8cbbe7b/django-slds-0.1.2.tar.gz (2.9MB)
Collecting django-slds-crispyforms>=0.1.0 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/c0/4c/783f1d16f85dd362b744de74ad5c7501388cf1629fe52509857bf51a7245/django-slds-crispyforms-0.1.0.tar.gz
Collecting django-tinymce==2.4.0 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/c0/a2/a99feb5e89bce4323010aeb2ebaf1bb5669a176b20c0232d811b6e569716/django_tinymce-2.4.0-py2.py3-none-any.whl (4.1MB)
Collecting djangorestframework==3.4.7 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/43/24/fd4b0ef635eecc613f36afc70692bc9422290a108124385d086243ab0257/djangorestframework-3.4.7-py2.py3-none-any.whl (706kB)
Collecting gunicorn==19.6.0 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/72/de/ec28a64885e0b390063379cca601b60b1f9e51367e0c76030ac8a5cddd5e/gunicorn-19.6.0-py2.py3-none-any.whl (114kB)
Collecting newrelic==2.70.0.51 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/76/0b/b0947f27186a4ed9260ada5bee009ec8e453fdbcff8a031ae8866a61e2fa/newrelic-2.70.0.51.tar.gz (713kB)
Collecting pycparser==2.13 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/95/e0/2750d501c7e729a0a37dbe0fe0f5ce1e642cea12bc7cdf6d85b9a5abfea3/pycparser-2.13.tar.gz (299kB)
Collecting psycopg2==2.6.2 (from -r /tmp/build_b676ebb28d843432f2697091cec0015c/requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz (376kB)
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2.egg-info
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
Error: could not determine PostgreSQL version from '10.4'

       ----------------------------------------
   Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ngiakdlo/psycopg2/

! Push rejected, failed to compile Python app.
! Push failed

Contextual Help Content

When an installation encounters an error, the error log should be parsed to find any matching help content. If help content is found, the help content should be shown instead of the default failure content for the package. If no help content is found, the default content for the package should be shown.

The Next Steps should also load into an overlay so the content is highlighted to the user.

Delete option for MrBelvedere Contribution Tool

I know this is just icing for the cake but it would be awesome if there were a delete option for the contribution tool. Something that could remove an unwanted contribution from your profile and even possibly remove the branch that was created. ^_^

mpinstaller: Metadata conditions should be refreshed after package install

Currently, if a package requires metadata conditions, the list of metadata for the condition's types are fetched from the org and stored in the session. However, the list may change after the installation of a managed package which adds metadata of a type used by the condition. Thus, the condition would be operating on stale data and may falsely trigger or not trigger the deployment.

The metadata lists in the session should be deleted from the session after the next package installation to force a refresh. Since the conditions are evaluated as part of building the install map which is only done once for an installation, clearing after each package shouldn't cause a refetch of the metadata list.

Install with mrbelvedere button

Like the Deploy to Heroku button, create an Install with mrbelvedere button with support for inspecting the HTTP referrer to see if it came from Github. If so, parse out the fork and git_ref from the referrer so the button works on any branch in the repo.

Request: Make "Verify your organization" Case Insensitive

When pasting in this form I sometimes use a mixed upper and lower case version of this username. Username is only validated true when case matches. It would be nice to have it validate true if text matches but case doesn't (i.e. case insensitive).

Example of error thrown when text matches but the case doesn't: https://www.dropbox.com/s/evp1pjqkgq1sx0e/Screenshot%202018-12-14%2010.33.33.png?dl=0

I believe the change would be around this line: https://github.com/SalesforceFoundation/mrbelvedere/blob/1fa84d3744f7504d224da3f2edfea7191d130653/mpinstaller/templates/mpinstaller/package_version_overview.html#L214

Remove version # from installer page

With all of the package versions, it is confusing to have version 1.22 featured on the installer page. I don't think having an installer version is a necessary piece of information for end users/admins, but please correct me if I'm wrong.

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.