GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [core] Wire processing stages into SourceCodeProcessor by oowekyala · Pull Request #1796 · pmd/pmd

Conversation

@oowekyala

@oowekyala oowekyala commented Apr 26, 2019

Copy link
Copy Markdown
Member

Follow up on #1426 (including PR comments from the later reviews)

This is a temporary solution until we change RuleSet. You can see when running with the benchmark that the stages are properly executed for any language (though the benchmark reporter doesn't preserve the order of execution).

With this, plus #1759, we can plug-in a naive name disambiguation stage, which unlocks progress on the updating of type resolution (and on a long-term solution for stages). This is what I've tried to schematize on the wiki

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@oowekyala oowekyala added the in:ast About the AST structure or API, the parsing step label Apr 26, 2019
@oowekyala oowekyala added this to the 7.0.0 milestone Apr 26, 2019
@oowekyala oowekyala added the in:pmd-internals Affects PMD's internals label Apr 26, 2019
@oowekyala
oowekyala force-pushed the wire-processing-stages branch from b92327c to 332a52b Compare April 27, 2019 18:07
@adangel

adangel commented Apr 29, 2019

Copy link
Copy Markdown
Member

By the way, I figured out why travis doesn't build, even though the PR is build on the merge commit with pmd/7.0.x : the important change is in .travis.yml, but the git checkout/merge happens only after travis is already running, so it doesn't change the receipt. Since there are no commit comments on this PR on github yet, I'd suggest to rebase this PR and force push:

git fetch origin
git checkout wire-processing-stages
git rebase origin/pmd/7.0.x
git push -f wire-processing-stages

You'll get rid of the two "Merge branch '7.0.x' into wire-processing-stages" commits then. If you needed to resolve conflicts back then, you probably need to resolve them again during rebase.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

oowekyala added 14 commits April 30, 2019 01:01
@oowekyala
Wire AstProcessingStage into SourceCodeProcessor
13682a5
@oowekyala
Revert changes to benchmark
a103244
@oowekyala
Remove double dispatch for stage dependency
1ebd57e
@oowekyala
Simplify
1242282
@oowekyala
Doc
e77f64c
@oowekyala
Extract helper class
53b46fd
@oowekyala
Add tests
4bfc201
@oowekyala
Implement stage dependencies
d5ccb71
@oowekyala
Style
d838c98
@oowekyala
Avoid duplicates
9a590be
@oowekyala
Doc
41200f2
@oowekyala
Moar tests
4dd9395
@oowekyala
Fix mockito
02347b7
@oowekyala
Fix some root nodes not being RootNode
7d6a6dd
@oowekyala
oowekyala force-pushed the wire-processing-stages branch from 332a52b to 7d6a6dd Compare April 29, 2019 23:01
@ghost

ghost commented Apr 29, 2019 •
edited by ghost
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@djydewang

djydewang commented Apr 30, 2019

Copy link
Copy Markdown
Member

Running pmdtester failed, this message is mainly used to remind the maintainers of PMD.

https://travis-ci.org/pmd/pmd/jobs/526201635#L6720, it seems that the server has no local pmd/7.0.x branch. I'll fix the issue in another PR.

adangel reacted with thumbs up emoji adangel reacted with hooray emoji
All reactions
  • 👍 1 reaction
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@djydewang djydewang mentioned this pull request May 1, 2019
[ci] Fix missing local branch issues when executing pmd-regression-tester #1807
Merged
@oowekyala
Comment fix
d8b665f
jsotuyod
jsotuyod reviewed Sep 6, 2019
View reviewed changes
Comment thread pmd-core/src/main/java/net/sourceforge/pmd/internal/RulesetStageDependencyHelper.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pmd-core/src/main/java/net/sourceforge/pmd/internal/RulesetStageDependencyHelper.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTprocess.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

oowekyala added 5 commits September 6, 2019 15:20
@oowekyala
Merge branch '7.0.x' into wire-processing-stages
713d091
@oowekyala
Make test method package private
a7253d4
@oowekyala
Use concurrent maps
7644c23
@oowekyala
Merge branch '7.0.x' into wire-processing-stages
636445a
@oowekyala
Merge branch '7.0.x' into wire-processing-stages
7d0079a
oowekyala added 5 commits September 25, 2019 02:08
@oowekyala
Fix xpath handler
36741b2
@oowekyala
Checkstyle
b059f0a
@oowekyala
Reorganise antlr files
b51c02f
Antlr root nodes need to implement RootNode.

Also, I didn't like the fact that the swift
module didn't use the conventional package
structure (lang.swift.ast) but was rolling
its own convention (lang.swift.antlr4).

I moved base classes for the antlr implementations
into nspmd.lang.ast.impl.antlr4. The fact that a
module is implemented with antlr is an implementation
detail, and it doesn't deserve its own toplevel package
in nspmd.lang.
@oowekyala
Checkstyle
e293d57
@oowekyala
Fix dead link
ae378fd
@oowekyala
oowekyala merged commit ae378fd into pmd:pmd/7.0.x Oct 5, 2019
@oowekyala
oowekyala deleted the wire-processing-stages branch October 5, 2019 14:08
@oowekyala oowekyala mentioned this pull request Oct 6, 2019
[core] Violation suppressors #2055
Merged
2 tasks done
@oowekyala oowekyala mentioned this pull request Jan 24, 2020
[core] Cleanup language version handlers #2248
Merged
@adangel adangel removed the in:ast About the AST structure or API, the parsing step label Jan 12, 2023
@adangel adangel mentioned this pull request Jan 23, 2023
PMD 7 Tracking Issue #3898
Closed
55 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jsotuyod jsotuyod jsotuyod left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

in:pmd-internals Affects PMD's internals

Projects

None yet

Milestone

7.0.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@oowekyala @adangel @djydewang @jsotuyod
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.