Skip to content
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

[pull] master from olofk:master #10

Open
wants to merge 59 commits into
base: master
Choose a base branch
from
Open

[pull] master from olofk:master #10

wants to merge 59 commits into from

Commits on May 19, 2021

  1. Configuration menu
    Copy the full SHA
    0e4861e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. Setup and document the use of sphinx-autobuild

    sphinx-autobuild builds the documentation, serves it on a localhost web
    server, automatically rebuilds it when changes are detected, and also
    refreshes the web page automatically. With this setup documentation
    writers can have the documentation open in their browser, change
    documentation source code, and see the updated documentation as soon as
    they save the source file, without any other action needed. Beautiful!
    
    Add the tox setup for this, and document it as the preferred way of
    working on documentation. The more manual way remains in place for now.
    imphil authored and olofk committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    d39bdb8 View commit details
    Browse the repository at this point in the history
  2. Improve formatting in tox.ini

    No functional change intended.
    imphil authored and olofk committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    ef0b75a View commit details
    Browse the repository at this point in the history
  3. Fix typo in filesets documentation

    imphil authored and olofk committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    fa33702 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

  1. Documentation: Recommend quoting of strings in YAML

    Strings in YAML don't have to be quoted in most cases, but must be quote
    in some cases. The exact rules are a mess, as highlighted by the
    discussion at
    https://stackoverflow.com/questions/19109912/yaml-do-i-need-quotes-for-strings-in-yaml.
    In FuseSoC's case, quotes are at least required when using negated
    CAPI2 expressions, which start with "!" and need quoting.
    
    Instead of confusing our users, the guide now goes with the simplest
    possible rule: always quote strings. We limit the quoting to strings
    used as value (not as dictionary keys), since keys are always valid
    identifiers in our case.
    
    This commit doesn't universally change all our (example) code to use
    quotes, but it's a start at least.
    
    Both single and double quotes would work for our use case. To align with
    more common use in normal English, as well as with C-based languages and
    many others, we prefer double quotes over single ones. Ultimately, the
    differences don't matter much for our use case and it's down to
    preferences.
    imphil authored and olofk committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    b3d22e6 View commit details
    Browse the repository at this point in the history
  2. Document flags and their use

    imphil authored and olofk committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    324a270 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Remove Sphinx from dev-requirements.txt, add tox

    The recommended way of building the documentation locally is through
    tox. Avoid installing Sphinx for "manual" development environments, tox
    already takes care of that.
    
    Add tox as development dependency (it was missing before), and remove
    the manual installation of Sphinx.
    
    For now we keep pytest as separate dependency, even though that's not
    needed when running tests through tox.
    imphil authored and olofk committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    2024c57 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Add Integer class for edalize

    This commit add basic Integer class to support Integer type parameters
    for backends defined in edalize. For example: jobs parameter of Vivado.
    Please see Issue #515 #515
    alperyazar authored and olofk committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    ee21ec8 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. Fix Python lint

    imphil committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    7b51a44 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Configuration menu
    Copy the full SHA
    e8fadec View commit details
    Browse the repository at this point in the history
  2. [CI/CI] Run workflow for any branch

    umarcor authored and imphil committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    0cf682f View commit details
    Browse the repository at this point in the history
  3. [CI/CI] Set fail-fast false

    umarcor authored and imphil committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    625506e View commit details
    Browse the repository at this point in the history
  4. [CI/CI] Add Python 3.10

    umarcor authored and imphil committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    5163055 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0d736b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d16c51b View commit details
    Browse the repository at this point in the history
  7. [CI/CI] Workflow style and symbols/icons

    umarcor authored and imphil committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    b05eed5 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Configuration menu
    Copy the full SHA
    c7730e6 View commit details
    Browse the repository at this point in the history
  2. Run generators in unique temp dirs

    Up until now, generators have been run from cache_root/generated/<vlnv>.
    This is a problem when several builds are run at the same time. Normally, there
    should be no need for the intermediate files created by the generator so with
    this change we treat them as volatile. If a generated wants to cache the
    output it will need to do this internally instead.
    
    be no need for the generated
    olofk committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    0469da4 View commit details
    Browse the repository at this point in the history
  3. Rename functions dealing with EDAM objects

    Several functions were created before the EDAM format was invented
    and used names like eda_api to describe the EDAM objects. This makes it
    clearer when EDAM objects are being referred to
    olofk committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    3cd6ca3 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. feat_board_file_support: adding support for copying directories

     - copyto now supports copying directories to the workspace. This is useful
       for copying directories such as Xilinx board files for Vivado.
    shareefj authored and olofk committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    bc4552f View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Fix formatting for linter

    olofk committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    98f4e05 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Remove unused flags argument from Core.get_generators()

    This argument doesn't have any effect, so there's no need to construct
    it. This commit removes the argument from the function and all
    call-sites.
    
    It also removes debug messages from in core.get_generators(). The
    first wasn't massively helpful (printing flags that had no effect),
    and the interesting call site in Edalizer.extract_generators() already
    has a log message which was more helpful because it could also print
    the core name.
    
    The commit moves the second debug message (per generator found) up to
    Edalizer.extract_generators, where it was also duplicated.
    
    There should be no functional change, except to debug messages.
    rswarbrick authored and imphil committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    87ec9ae View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Add get_flags CAPI function

    olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    4c64efc View commit details
    Browse the repository at this point in the history
  2. Remove get_work_root and get_tool CAPI functions

    get_work_root and get_tool were originally added as API functions
    to bridge some conceptual differences between CAPI1 and CAPI2.
    With CAPI1 removed these can be removed as well in favor of the
    get_flags functions, since the former are  not very useful API functions
    olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    eb1032e View commit details
    Browse the repository at this point in the history
  3. CI: Add Python 3.11 (alpha for now)

    Python 3.11 is in alpha now, but having it in CI helps us be prepared.
    CI will always pick up the latest 3.11 version as it moves from alpha to
    beta to release ultimately.
    imphil authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    cdfd751 View commit details
    Browse the repository at this point in the history
  4. Remove fusesoc pgm and fusesoc init

    These two commands have been deprecated for a while, remove them while
    still showing a message to our users informing them what to do instead.
    imphil authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    dd16521 View commit details
    Browse the repository at this point in the history
  5. Remove Python 2 code path

    imphil authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    505c7a9 View commit details
    Browse the repository at this point in the history
  6. Use f strings for nicer code formatting

    No functional change intended.
    imphil authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    fa08c5f View commit details
    Browse the repository at this point in the history
  7. Spell our product name correctly.

    imphil authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    712c16e View commit details
    Browse the repository at this point in the history
  8. Better indicate an unused section in tox.ini

    This section in tox.ini is unused, but looks like it would need updating
    for newer Python versions added to CI. There has not been much upstream
    movement on this issue, it's unlikely we'll ever get the behavior we
    hoped for.
    imphil authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    e245b65 View commit details
    Browse the repository at this point in the history
  9. feat_board_file_support: fix for missing copytree

     - there are two locations in the codebase where file copying takes place depending
       on whether you run fusesoc with the --no-export switch.
    shareefj authored and olofk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    169b0ec View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Tox: More selectively remove directories

    Avoid removing the full (tox-created) HOME directory, as it may contain
    Python venv components that we are unable to delete at times.
    
    Fixes #546
    imphil committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    1dba179 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Tweak test_edalizer not to depend on the order of edalizer.cores

    This didn't matter until 0469da4 because all the 'core_root' paths
    were the same. But generated cores now appear in different directories
    from one another so we have to get it right.
    rswarbrick authored and olofk committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    39cc582 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Support virtual packages in CAPI2

    Packages can now provide more than one package: they provide itself (as
    described by the package `name`), and a list of further (virtual)
    packages, described by the `virtual` key in the root of the CAPI2 file.
    
    Example:
    ```
    CAPI=2:
    name: ::impl2:0
    virtual:
      - ::someinterface:0
    ```
    
    This core provides a core named `::impl2:0` and a core named
    `someinterface:0`. Other cores can now depend either `::impl2:0` or
    `::someinterface` and always get the `::impl2:0` core.
    
    The keyword `virtual` was chosen over alternatives, such as `provide` to
    be distinct from other keywords we use in CAPI2 currently, especially to
    be distinct from the concept of providers.
    
    Fixes #235
    imphil committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    6b04028 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Fix interface incompatibility in test_virtual

    Commit 6b04028 introduced new code
    which broke a test. Fix that. (There was a mid-air collision of two
    changes.)
    imphil authored and olofk committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    eb90da1 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Small code cleanup in coremanager

    imphil authored and olofk committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    73a7314 View commit details
    Browse the repository at this point in the history
  2. Fix deprecation warning in pytest

    Pytest 8 will deprecate `pytest.warns(None)`. Replace it with an
    alternative.
    imphil authored and olofk committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    b5baa02 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. provider clean_cache rmtree working on windows with ro files in .git …

    …folder; Updated black version due to bug with older one
    schwander authored and olofk committed May 31, 2022
    Configuration menu
    Copy the full SHA
    b5427ec View commit details
    Browse the repository at this point in the history
  2. Added stat to imports

    schwander authored and olofk committed May 31, 2022
    Configuration menu
    Copy the full SHA
    7d15978 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2022

  1. Configuration menu
    Copy the full SHA
    5a1261a View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Remove generators temporary directories

    * Remove generators temporary directories
    * Keep track of generated cores
    fantognazza authored Jun 14, 2022
    Configuration menu
    Copy the full SHA
    58bbb86 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Bump to a working version of Black

    It seems that previous versions don't work with the latest version of
    the "click" library on which they depend.
    
    See https://stackoverflow.com/questions/71673404.
    rswarbrick authored and olofk committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    0d70a94 View commit details
    Browse the repository at this point in the history
  2. Tell flake8 that we allow 88-character lines

    That's the default behaviour of black (which we use). If you use an
    editor with flake8 integration, this gets rid of all the wiggly red
    lines!
    rswarbrick authored and olofk committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    46d0e1a View commit details
    Browse the repository at this point in the history
  3. Simplify how we load config files

    Before this change, you could create a Config object by passing a path
    or a file handle (or passing nothing, in which case it loaded up a set
    of default paths).
    
    This change removes the file handle option, slightly simplifying the
    code.
    
    There's a bit of resulting churn in test_libraries.py, but the result
    should be a bit cleaner than what it was (using tempfile's context
    managers to avoid leaving stray temporary files and directories
    around).
    rswarbrick authored and olofk committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    6a68c67 View commit details
    Browse the repository at this point in the history
  4. Fix a couple of flake8 warnings in config.py

    Unused import and unused variable.
    rswarbrick authored and olofk committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    9dbdfae View commit details
    Browse the repository at this point in the history
  5. Make how we read "roots" in config a bit more uniform

    There should be no functional change, but one nice property of the new
    code is that we no longer use setattr() to set fields (making it much
    easier to grep for where e.g. self.build_root gets set).
    
    Note that the helper functions (e.g. _get_build_root) could actually
    be static methods at the moment, but the next commit will add a
    dependency on self._path, so I left them non-static to avoid churn
    there.
    rswarbrick authored and olofk committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    97113ed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    699b4af View commit details
    Browse the repository at this point in the history
  7. Add an ignored_dirs key to configuration files

    This works essentially the same as adding a FUSESOC_IGNORE file to a
    directory, but is handy because it can be done (and checked in) before
    the directory actually exists.
    rswarbrick authored and olofk committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    1923f04 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    fb1db80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d97258 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ed50bc View commit details
    Browse the repository at this point in the history
  4. chore: fix pre-commit lint messages

    joennlae authored and olofk committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c6f7f92 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    82a7be3 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    f84d530 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Make sure shallow clone pulls all tags

    No-single-branch flag ensures shallow-clone depth constraint does not make older tags invisible
    GCHQDeveloper147 authored and imphil committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    c96f939 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Docs: Installing fusesoc under Windows (#587)

    Co-authored-by: Philipp Wagner <[email protected]>
    Co-authored-by: Per Lenander <[email protected]>
    3 people authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    88730f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    c30d45a View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Configuration menu
    Copy the full SHA
    fc3276b View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2022

  1. Configuration menu
    Copy the full SHA
    098813b View commit details
    Browse the repository at this point in the history