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

Integrating calmjs-3 changes #2

Merged
merged 31 commits into from Jan 12, 2018
Merged

Conversation

metatoaster
Copy link
Member

This includes the various updates to remove usage of deprecated identifiers, and to make use of calmjs.parse.

- More trove classifiers
- Corrected comments.
- As calmjs upstream now provide certain walkers for getting the data,
  make use of those instead.
- Remove the duplicated code.
- Removing usage of slimit.
- Bumping calmjs dependency - this does cause a test case failure due to
  error log not being empty due to deprecation.
- Ensure unicode type is used in Python 2; process_path now takes an
  encoding parameter which defaults to utf-8.
@metatoaster metatoaster force-pushed the calmjs.parse branch 2 times, most recently from d02351b to 82b8d9c Compare November 17, 2017 07:30
@metatoaster metatoaster force-pushed the calmjs.parse branch 2 times, most recently from 203cdbf to 3c0a868 Compare November 21, 2017 06:44
- The runtime flags have not been changed yet.  Will have to figure out
  a deprecation strategy at some point, due to source-map being not used
  correctly.
- Make it call calmjs.toolchain.spec_update_plugins_sourcepath_dict
- This will require some more work, as the text plugin still does not
  inject the bundle path yet.  The workflow will need to be finalized.
- Ensure that the support is there for now.
- Text plugin (for requirejs) now has the package declaration
- Also ensure that WORKING_DIR is added to the spec by the cli function
- Have a toolchain test to ensure this is in working order
- As that is what the module is, and also to match with upstream.
- The registry name should also be renamed, but the impact is not yet
  known.  Will only be done if a deprecation mechanics is in place.
- Removed the compile_plugin method and related preparation steps, and
  converted it to make use of the generalized help functions that were
  moved to upstream.
- The mixin now inherits from BaseLoaderPluginHandler as that is the
  canonical class to do so
- Other classes that previously inherited from that now inherit from the
  main implementation.
- Ensure that the usage of those hooks are done
- Only if possible.
- Also given that the target will be cleaned in the fully defined
  circumstance, it no longer needs to strip the target for the target
  path.
- As bulk of the processing of loader plugins can be done using upstream
  methods, remove the custom handling code.
- Ensure that the intercepted condition return the expected types needed
  by the underlying call (provide the expected empty values).
- Mostly to avoid overloading the term "source-map", and to be inline
  with calmjs.webpack.
- Allow consistency and also removes the spurious warning when starting
  up.
- Define the relevant rules for the respective registries.
- Only the complete artifact is supported at this time, however the
  definitions here serve as the starting point for dependents to figure
  out if they need more.
@metatoaster metatoaster force-pushed the calmjs.parse branch 6 times, most recently from fe9409a to a594df1 Compare January 12, 2018 02:47
- Added basic artifact usage.
- Adapted and merged in related documentation in calmjs.webpack
- Corrected legacy wording in some logging output.
- Removed the last removable vestige of slimit.  Good riddance.
- pypy3 on travis is 3.5 now
- just use pip with -U so that the latest correct version of setuptools
  will be used.
- Ensure that calmjs.dev is not imported at the wrong level, which will
  fix this issue
- Clean up the test harnesses a bit better.
- Seems like for a certain return type, the column is no longer included
  for some reason... so don't fail for things out of our control.
@metatoaster metatoaster merged commit 656e5eb into calmjs:master Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant